mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-28 09:31:38 +00:00
S3 Fuzzer: remove num-retries override
Overriding num-retries to 0 sometimes causes boto to fail when the server doesn't respond fast enough. Removing the override shouldn't cause any problems with the fuzzer.
This commit is contained in:
parent
d2c841d1df
commit
f45d28765d
1 changed files with 3 additions and 2 deletions
|
@ -322,8 +322,6 @@ def _main():
|
|||
print>>VERBOSE, "%s: %s" %(h[:50], v[:50])
|
||||
print>>VERBOSE, "%s\n" % body[:100]
|
||||
|
||||
response = s3_connection.make_request(method, path, data=body, headers=headers, override_num_retries=0)
|
||||
|
||||
print>>DEBUG, 'FULL REQUEST'
|
||||
print>>DEBUG, 'Method: %r' %method
|
||||
print>>DEBUG, 'Path: %r' %path
|
||||
|
@ -332,6 +330,9 @@ def _main():
|
|||
print>>DEBUG, "\t%r: %r" %(h, v)
|
||||
print>>DEBUG, 'Body: %r' %body
|
||||
|
||||
#response = s3_connection.make_request(method, path, data=body, headers=headers, override_num_retries=0)
|
||||
response = s3_connection.make_request(method, path, data=body, headers=headers)
|
||||
|
||||
print>>VERBOSE, 'Response status code: %d %s' %(response.status, response.reason)
|
||||
print>>DEBUG, 'Body:\n%s' %response.read()
|
||||
if response.status == 500 or response.status == 503:
|
||||
|
|
Loading…
Reference in a new issue