summaryrefslogtreecommitdiff
path: root/testing/tox.ini
diff options
context:
space:
mode:
Diffstat (limited to 'testing/tox.ini')
-rw-r--r--testing/tox.ini9
1 files changed, 8 insertions, 1 deletions
diff --git a/testing/tox.ini b/testing/tox.ini
index 2acbf4fb..48c1afb9 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -67,7 +67,14 @@ deps =
git+https://github.com/drebs/pytest-benchmark.git@fix-update-machine-info-hook-spec
elasticsearch
certifi
-commands = py.test --benchmark-only {posargs}
+commands =
+# use a bundled version of pysqlcipher to ensure HAVE_USLEEP is set and we
+# don't have problems with concurrent db access.
+ pip uninstall -y pysqlcipher
+ pip install --install-option="--bundled" pysqlcipher
+ ./check-pysqlcipher.py
+# and only then run benchmark
+ py.test --benchmark-only {posargs}
passenv = HOST_HOSTNAME
[testenv:code-check]