summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--testing/tests/benchmarks/test_sqlcipher.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/testing/tests/benchmarks/test_sqlcipher.py b/testing/tests/benchmarks/test_sqlcipher.py
index 762c850f..e9a48d05 100644
--- a/testing/tests/benchmarks/test_sqlcipher.py
+++ b/testing/tests/benchmarks/test_sqlcipher.py
@@ -15,9 +15,10 @@ def load_up(client, amount, payload, defer=True):
def build_test_sqlcipher_async_create(amount, size):
@pytest.inlineCallbacks
@pytest.mark.benchmark(group="test_sqlcipher_async_create")
- def test(soledad_client, txbenchmark, payload):
+ def test(soledad_client, txbenchmark_with_setup, payload):
client = soledad_client()
- yield txbenchmark(load_up, client, amount, payload(size))
+ yield txbenchmark_with_setup(
+ lambda: None, load_up, client, amount, payload(size))
return test