diff --git a/testing/tests/benchmarks/test_resources.py b/testing/tests/benchmarks/test_resources.py index 3916901239bc80a2201a96760e7ca9e63d013d8c..173edbd16a03d8daf7379650060821e81ec5bd4d 100644 --- a/testing/tests/benchmarks/test_resources.py +++ b/testing/tests/benchmarks/test_resources.py @@ -1,3 +1,4 @@ +import pytest import random import time @@ -22,6 +23,7 @@ def bellardBig(n): return pi +@pytest.mark.skip(reason='not a real use case, used only for instrumentation') def test_cpu_intensive(monitored_benchmark): def _cpu_intensive(): @@ -34,6 +36,7 @@ def test_cpu_intensive(monitored_benchmark): monitored_benchmark(_cpu_intensive) +@pytest.mark.skip(reason='not a real use case, used only for instrumentation') def test_memory_intensive(monitored_benchmark): def _memory_intensive(): diff --git a/testing/tests/benchmarks/test_sqlcipher.py b/testing/tests/benchmarks/test_sqlcipher.py index d300d931cefd76de9d6efd0864f1012e79845f49..762c850fbe5c98e24a6a9f4d4a3cb90c77378ee7 100644 --- a/testing/tests/benchmarks/test_sqlcipher.py +++ b/testing/tests/benchmarks/test_sqlcipher.py @@ -22,7 +22,7 @@ def build_test_sqlcipher_async_create(amount, size): def build_test_sqlcipher_create(amount, size): - @pytest.mark.synchronous + @pytest.mark.skip(reason="this test is lengthy and not a real use case") @pytest.mark.benchmark(group="test_sqlcipher_create") def test(soledad_client, monitored_benchmark, payload): client = soledad_client()._dbsyncer diff --git a/testing/tox.ini b/testing/tox.ini index 6a6275f3ecdd8cd432f5958ee6504b987040eae2..aba69cf6b13c531d614315e9526aca315626683f 100644 --- a/testing/tox.ini +++ b/testing/tox.ini @@ -78,7 +78,7 @@ commands = pip install -I --install-option="--bundled" pysqlcipher ./check-pysqlcipher.py # and only then run benchmark - py.test --benchmark-only -m 'not synchronous' {posargs} + py.test --benchmark-only {posargs} passenv = HOST_HOSTNAME [testenv:code-check]