Changeset View
Changeset View
Standalone View
Standalone View
swh/objstorage/tests/conftest.py
def pytest_configure(config): | def pytest_configure(config): | ||||
config.addinivalue_line("markers", "shard_max_size: winery backend") | config.addinivalue_line("markers", "shard_max_size: winery backend") | ||||
def pytest_addoption(parser): | def pytest_addoption(parser): | ||||
parser.addoption( | parser.addoption( | ||||
"--winery-bench-output-directory", | |||||
help="Directory in which the performance results are stored", | |||||
default="/tmp/winery", | |||||
) | |||||
parser.addoption( | |||||
"--winery-bench-rw-workers", | "--winery-bench-rw-workers", | ||||
type=int, | type=int, | ||||
help="Number of Read/Write workers", | help="Number of Read/Write workers", | ||||
default=1, | default=1, | ||||
) | ) | ||||
parser.addoption( | parser.addoption( | ||||
"--winery-bench-ro-workers", | "--winery-bench-ro-workers", | ||||
type=int, | type=int, | ||||
Show All 33 Lines |