]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
object size corrected for tests with versioning
authorrakesh <rakesh@dhcp35-53.lab.eng.blr.redhat.com>
Wed, 30 Aug 2017 12:14:22 +0000 (17:44 +0530)
committerVasu Kulkarni <vasu@redhat.com>
Tue, 5 Sep 2017 20:19:07 +0000 (13:19 -0700)
qa/tasks/rgw_system_test.py

index 5c65a0a9b9d50b766e56d568c292f2e3186db76d..bbcd9a43f9888c5f429263d34a685884c6d8a15a 100644 (file)
@@ -299,6 +299,10 @@ def task(ctx, config):
         log.error('test does not support small size objects less than 10 MB ')
         exit(1)
 
+    if 'verison' in config['test-name']:
+
+        osize = (osize / int(test_config['version_count']))
+
     test_config['min_file_size'] = osize - 5
     test_config['max_file_size'] = osize