summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/benchmarks/test_sqlcipher.py1
-rw-r--r--testing/tox.ini2
2 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/benchmarks/test_sqlcipher.py b/testing/tests/benchmarks/test_sqlcipher.py
index 39c9e3ad..0cdda7e6 100644
--- a/testing/tests/benchmarks/test_sqlcipher.py
+++ b/testing/tests/benchmarks/test_sqlcipher.py
@@ -22,6 +22,7 @@ def build_test_sqlcipher_async_create(amount, size):
def build_test_sqlcipher_create(amount, size):
+ @pytest.mark.synchronous
@pytest.mark.benchmark(group="test_sqlcipher_create")
def test(soledad_client, benchmark, payload):
client = soledad_client()._dbsyncer
diff --git a/testing/tox.ini b/testing/tox.ini
index 31d72b88..7d38a16c 100644
--- a/testing/tox.ini
+++ b/testing/tox.ini
@@ -74,7 +74,7 @@ commands =
pip install --install-option="--bundled" pysqlcipher
./check-pysqlcipher.py
# and only then run benchmark
- py.test --benchmark-only {posargs}
+ py.test --benchmark-only -m 'not synchronous' {posargs}
passenv = HOST_HOSTNAME
[testenv:code-check]