doc = """
usage: teuthology-suite --help
- teuthology-suite [-v | -vv ] --suite <suite> [options] [<config_yaml>...]
- teuthology-suite [-v | -vv ] --rerun <name> [options] [<config_yaml>...]
+ teuthology-suite [-v | -vv ] --ceph <ceph> --suite <suite> [options] [<config_yaml>...]
+ teuthology-suite [-v | -vv ] --ceph <ceph> --rerun <name> [options] [<config_yaml>...]
Run a suite of ceph integration tests. A suite is a directory containing
facets. A facet is a directory containing config snippets. Running a suite
The suite to schedule
--wait Block until the suite is finished
-c <ceph>, --ceph <ceph> The ceph branch to run against
- [default: master]
-S <sha1>, --sha1 <sha1> The ceph sha1 to run against (overrides -c)
If both -S and -c are supplied, -S wins, and
there is no validation that sha1 is contained
prepare_and_schedule=prepare_and_schedule,
):
main([
+ '--ceph', 'master',
'--suite', suite_name,
'--throttle', throttle,
'--machine-type', machine_type,
) as m:
m['package_version_for_hash'].return_value = 'fake-9.5'
config.suite_verify_ceph_hash = False
- main(['--suite', suite_name,
- '--suite-dir', suite_dir,
- '--suite-relpath', '',
- '--throttle', throttle,
- '--machine-type', machine_type])
+ main([
+ '--ceph', 'master',
+ '--suite', suite_name,
+ '--suite-dir', suite_dir,
+ '--suite-relpath', '',
+ '--throttle', throttle,
+ '--machine-type', machine_type
+ ])
m_sleep.assert_called_with(int(throttle))
m['get_gitbuilder_hash'].assert_not_called()
) as m:
m['package_version_for_hash'].return_value = 'fake-9.5'
config.suite_verify_ceph_hash = True
- main(['--suite', suite_name,
- '--suite-dir', suite_dir,
- '--suite-relpath', '',
- '--throttle', throttle,
- '--machine-type', machine_type])
+ main([
+ '--ceph', 'master',
+ '--suite', suite_name,
+ '--suite-dir', suite_dir,
+ '--suite-relpath', '',
+ '--throttle', throttle,
+ '--machine-type', machine_type
+ ])
m_sleep.assert_called_with(int(throttle))