diff options
Diffstat (limited to 'testing/tests/benchmarks')
-rw-r--r-- | testing/tests/benchmarks/test_resources.py | 3 | ||||
-rw-r--r-- | testing/tests/benchmarks/test_sqlcipher.py | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/testing/tests/benchmarks/test_resources.py b/testing/tests/benchmarks/test_resources.py index 39169012..173edbd1 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 d300d931..762c850f 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 |