From 551b5a18f77e1424fcf1d7ac7b981dcd7c4bd6b1 Mon Sep 17 00:00:00 2001 From: Andreas Schildbach Date: Mon, 31 Aug 2020 14:52:48 +0200 Subject: [PATCH] SPVBlockStoreTest: Increase threshold for performanceTest() to 2s. See #2039. --- core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java b/core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java index 9640f74d4..16551c2ac 100644 --- a/core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java +++ b/core/src/test/java/org/bitcoinj/store/SPVBlockStoreTest.java @@ -140,7 +140,7 @@ public class SPVBlockStoreTest { // On slow machines, this test could fail. Then either add @Ignore or adapt the threshold and please report to // us. final int ITERATIONS = 100000; - final long THRESHOLD_MS = 1500; + final long THRESHOLD_MS = 2000; SPVBlockStore store = new SPVBlockStore(UNITTEST, blockStoreFile); Stopwatch watch = Stopwatch.createStarted(); for (int i = 0; i < ITERATIONS; i++) {