From 36e4a396a2a7edcc05c41e739d8f24ec7945cd21 Mon Sep 17 00:00:00 2001 From: drebs Date: Fri, 7 Jul 2017 17:24:21 -0300 Subject: [benchmarks] skip some tests by default --- testing/tests/benchmarks/test_resources.py | 3 +++ testing/tests/benchmarks/test_sqlcipher.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'testing/tests') 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 -- cgit v1.2.3