forked from TrueCloudLab/s3-tests
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: %s" %(h[:50], v[:50])
|
||||||
print>>VERBOSE, "%s\n" % body[:100]
|
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, 'FULL REQUEST'
|
||||||
print>>DEBUG, 'Method: %r' %method
|
print>>DEBUG, 'Method: %r' %method
|
||||||
print>>DEBUG, 'Path: %r' %path
|
print>>DEBUG, 'Path: %r' %path
|
||||||
|
@ -332,6 +330,9 @@ def _main():
|
||||||
print>>DEBUG, "\t%r: %r" %(h, v)
|
print>>DEBUG, "\t%r: %r" %(h, v)
|
||||||
print>>DEBUG, 'Body: %r' %body
|
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>>VERBOSE, 'Response status code: %d %s' %(response.status, response.reason)
|
||||||
print>>DEBUG, 'Body:\n%s' %response.read()
|
print>>DEBUG, 'Body:\n%s' %response.read()
|
||||||
if response.status == 500 or response.status == 503:
|
if response.status == 500 or response.status == 503:
|
||||||
|
|
Loading…
Reference in a new issue