diff --git a/teuthology/task/radosgw-admin.py b/teuthology/task/radosgw-admin.py index 98e56f77508..3580a66acb6 100644 --- a/teuthology/task/radosgw-admin.py +++ b/teuthology/task/radosgw-admin.py @@ -269,7 +269,7 @@ def task(ctx, config): # TESTCASE 'bucket-stats5','bucket','stats','after creating key','succeeds, lists one non-empty object' (err, out) = rgwadmin(ctx, client, [ - 'bucket', 'stats', '--bucket-id', '%d' % bucket_id]) + 'bucket', 'stats', '--bucket-id', bucket_id]) assert not err assert out['id'] == bucket_id assert out['usage']['rgw.main']['num_objects'] == 1 @@ -280,7 +280,7 @@ def task(ctx, config): # TESTCASE 'bucket-stats6','bucket','stats','after deleting key','succeeds, lists one no objects' (err, out) = rgwadmin(ctx, client, [ - 'bucket', 'stats', '--bucket-id', '%d' % bucket_id]) + 'bucket', 'stats', '--bucket-id', bucket_id]) assert not err assert out['id'] == bucket_id assert out['usage']['rgw.main']['num_objects'] == 0