Merge pull request #117 from tianshan/fix-rgw-roundtrip

fix rgw_roundtrip test fail

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
This commit is contained in:
Yehuda Sadeh 2016-11-02 11:43:55 -07:00 committed by GitHub
commit 7139293aa0

View file

@ -27,7 +27,7 @@ def writer(bucket, objname, fp, queue):
start = time.time()
try:
key.set_contents_from_file(fp)
key.set_contents_from_file(fp, rewind=True)
except gevent.GreenletExit:
raise
except Exception as e: