SPVBlockStoreTest: Increase threshold for performanceTest() to 2s.

See #2039.
This commit is contained in:
Andreas Schildbach 2020-08-31 14:52:48 +02:00
parent 0324b95b3f
commit 551b5a18f7

View File

@ -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++) {