summaryrefslogtreecommitdiff
path: root/testing/tests
diff options
context:
space:
mode:
authordrebs <drebs@leap.se>2017-07-07 17:24:21 -0300
committerdrebs <drebs@leap.se>2017-07-08 07:47:58 -0300
commit36e4a396a2a7edcc05c41e739d8f24ec7945cd21 (patch)
treed1fa0c5245ad13b42fc9d123e44cdca30019a1c3 /testing/tests
parent88d52a578d0d7b06e138820fc0df24ba5f22e0e1 (diff)
[benchmarks] skip some tests by default
Diffstat (limited to 'testing/tests')
-rw-r--r--testing/tests/benchmarks/test_resources.py3
-rw-r--r--testing/tests/benchmarks/test_sqlcipher.py2
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