summaryrefslogtreecommitdiff
path: root/testing/tests/perf/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tests/perf/conftest.py')
-rw-r--r--testing/tests/perf/conftest.py6
1 files changed, 6 insertions, 0 deletions
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
#