- rgw-system-test:
test-name: test_Mbuckets_with_Nobjects
config:
- user_count: 100
- bucket_count: 500
- objects_count: 100
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
test-name: test_Mbuckets_with_Nobjects_shards
config:
shards: 100
- max_objects: 100000 # max objects per bucket.
- user_count: 100
- bucket_count: 500
- objects_count: 100
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ max_objects: 24 # max objects per bucket.
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_acls
config:
- bucket_count: 100
- objects_count: 500
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ bucket_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_acls_all_usrs
config:
- bucket_count: 500
- user_count: 100
- objects_count: 90
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ bucket_count: 25
+ user_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_acls_copy_obj
config:
- objects_count: 500
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_acls_reset
config:
- bucket_count: 500
- user_count: 100
- objects_count: 90
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ bucket_count: 25
+ user_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_basic_versioning
config:
- user_count: 100
- bucket_count: 500
- objects_count: 90
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
version_count: 5
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_bucket_with_delete
config:
- user_count: 100
- bucket_count: 500
- objects_count: 100
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_delete_key_versions
config:
- user_count: 100
- bucket_count: 500
- objects_count: 90
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
version_count: 5
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_Mbuckets
config:
- user_count: 100
- bucket_count: 500
+ user_count: 25
+ bucket_count: 25
\ No newline at end of file
- rgw-system-test:
test-name: test_multipart_upload
config:
- user_count: 100
- bucket_count: 500
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ user_count: 25
+ bucket_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_multipart_upload_cancel
config:
- user_count: 100
- bucket_count: 500
- break_at_part_no: 90
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ user_count: 25
+ bucket_count: 25
+ break_at_part_no: 70
+ min_file_size: 800
+ max_file_size: 1000
\ No newline at end of file
- rgw-system-test:
test-name: test_multipart_upload_download
config:
- user_count: 100
- bucket_count: 500
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ user_count: 25
+ bucket_count: 25
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_suspend_versioning
config:
- user_count: 100
- bucket_count: 500
- objects_count: 90
+ user_count: 25
+ bucket_count: 25
+ objects_count: 25
version_count: 5
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
- rgw-system-test:
test-name: test_version_with_revert
config:
- user_count: 100
- bucket_count: 500
+ user_count: 25
+ bucket_count: 25
objects_count: 90
version_count: 5
- min_file_size: 1000
- max_file_size: 1500
\ No newline at end of file
+ min_file_size: 50
+ max_file_size: 60
\ No newline at end of file
from teuthology import misc as teuthology
from teuthology.orchestra import run
log = logging.getLogger(__name__)
+import os
+import pwd
class Test(object):
log.info('test: %s' % self.script_fname)
+ temp_yaml_file = self.yaml_fname + "_" + str(os.getpid()) + pwd.getpwuid(os.getuid()).pw_name
+
if self.configuration is None:
assert isinstance(self.configuration, dict), "configuration not given"
- clients[0].run(args=['sudo', 'rm', '-f', run.Raw('/tmp/*')],
- check_status=False)
+
data = self.configuration
log.info('creating yaml from the config: %s' % data)
- local_file = '/tmp/' + self.yaml_fname
+ local_file = '/tmp/' + temp_yaml_file
with open(local_file, 'w') as outfile:
outfile.write(yaml.dump(data, default_flow_style=False))
'rgw-tests/ceph-qe-scripts/rgw/tests/s3/yamls/'])
clients[0].run(args=['cat',
'rgw-tests/ceph-qe-scripts/rgw/tests/s3/yamls/' + self.yaml_fname])
+
+ clients[0].run(args=['sudo', 'rm', '-f', run.Raw('%s' % local_file)], check_status=False)
+
clients[0].run(
args=[
run.Raw(