forked from TrueCloudLab/s3-tests
test_s3: add some debug prints for multi region test
Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
parent
f2902a042f
commit
474bfd2077
1 changed files with 8 additions and 0 deletions
|
@ -4758,14 +4758,22 @@ def test_region_copy_object():
|
||||||
|
|
||||||
content = 'testcontent'
|
content = 'testcontent'
|
||||||
|
|
||||||
|
print 'creating key=testobj', 'bucket=',bucket.name
|
||||||
|
|
||||||
key = bucket.new_key('testobj')
|
key = bucket.new_key('testobj')
|
||||||
fp_a = FakeWriteFile(file_size, 'A')
|
fp_a = FakeWriteFile(file_size, 'A')
|
||||||
key.set_contents_from_file(fp_a)
|
key.set_contents_from_file(fp_a)
|
||||||
|
|
||||||
|
print 'calling region_sync_meta'
|
||||||
|
|
||||||
region_sync_meta(targets.main, r)
|
region_sync_meta(targets.main, r)
|
||||||
|
|
||||||
|
print 'dest_bucket=', dest_bucket.name, 'key=', key.name
|
||||||
|
|
||||||
dest_key = dest_bucket.copy_key('testobj-dest', bucket.name, key.name)
|
dest_key = dest_bucket.copy_key('testobj-dest', bucket.name, key.name)
|
||||||
|
|
||||||
|
print
|
||||||
|
|
||||||
# verify dest
|
# verify dest
|
||||||
_verify_atomic_key_data(dest_key, file_size, 'A')
|
_verify_atomic_key_data(dest_key, file_size, 'A')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue