mirror of
https://github.com/ceph/s3-tests.git
synced 2024-11-21 23:29:47 +00:00
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'
|
||||
|
||||
print 'creating key=testobj', 'bucket=',bucket.name
|
||||
|
||||
key = bucket.new_key('testobj')
|
||||
fp_a = FakeWriteFile(file_size, 'A')
|
||||
key.set_contents_from_file(fp_a)
|
||||
|
||||
print 'calling region_sync_meta'
|
||||
|
||||
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)
|
||||
|
||||
print
|
||||
|
||||
# verify dest
|
||||
_verify_atomic_key_data(dest_key, file_size, 'A')
|
||||
|
||||
|
|
Loading…
Reference in a new issue