test_s3: add some debug prints for multi region test

Signed-off-by: Yehuda Sadeh <yehuda@inktank.com>
This commit is contained in:
Yehuda Sadeh 2014-04-01 12:20:24 -07:00
parent f2902a042f
commit 474bfd2077

View file

@ -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')