Fixing test falure (see details in description)
Fixing test falure (see details in description)



The script expected an epoch back from Repose in the 'retry-after' header,
but Repose was actually returning a human-readable timestamp. It was
failing with the following traceback:

Traceback (most recent call last):
File "/var/lib/jenkins/jobs/Heat-delete-stacks/workspace/tempest/api/orchestration/stacks/test_stacks_delete.py", line 77, in test_stack_delete
resp = self.client.delete_stack(stack['stack_name'], stack['id'], region)
File "/var/lib/jenkins/jobs/Heat-delete-stacks/workspace/tempest/services/orchestration/json/orchestration_client.py", line 264, in delete_stack
return self.delete("stacks/%s/%s" % (str(stack_name), str(stack_id)), region)
File "/var/lib/jenkins/jobs/Heat-delete-stacks/workspace/tempest/common/rest_client.py", line 439, in delete
return self.request('DELETE', url, region, headers)
File "/var/lib/jenkins/jobs/Heat-delete-stacks/workspace/tempest/common/rest_client.py", line 571, in request
delay = int(resp['retry-after'])
ValueError: invalid literal for int() with base 10: 'Tue, 05 Aug 2014 18:48:00 GMT'

https://jenkins-n01.rs-heat.com/job/Heat-delete-stacks/142/console
BeenzSyed/tempest,BeenzSyed/tempest