From f6a409a711df032507cbe3dd1f1129c1b7e19c95 Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 28 Jul 2017 19:25:11 -0300 Subject: [benchmarks] post responsiveness tests to elasticsearch --- testing/tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'testing/tests/conftest.py') diff --git a/testing/tests/conftest.py b/testing/tests/conftest.py index 6ce97625..857934ff 100644 --- a/testing/tests/conftest.py +++ b/testing/tests/conftest.py @@ -59,6 +59,12 @@ def pytest_addoption(parser): help="Soledad Server URL. A local server will be started if and only " "if no URL is passed.") + # the following option is only used in responsiveness tests, but has to be + # defined here due to how pytest discovers plugins during startup. + parser.addoption( + "--elasticsearch-url", type="string", default=None, + help="the url for posting responsiveness results to elasticsearch") + def _request(method, url, data=None, do=True): if do: -- cgit v1.2.3