From de5cd462cc3f04275e22d9267ecb8e6c2b23dfda Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 25 Jul 2016 21:34:23 -0300 Subject: [test] allow passing number of docs on command line on perf tests --- testing/tests/perf/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testing/tests/perf/conftest.py') diff --git a/testing/tests/perf/conftest.py b/testing/tests/perf/conftest.py index 85a48059..463c791a 100644 --- a/testing/tests/perf/conftest.py +++ b/testing/tests/perf/conftest.py @@ -26,6 +26,12 @@ def pytest_addoption(parser): help="the url for the couch server to be used during tests") +def pytest_addoption(parser): + parser.addoption( + "--num-docs", type="int", default=100, + help="the number of documents to use in performance tests") + + # # default options for all tests # -- cgit v1.2.3