mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-01-19 05:33:44 +01:00
SPVBlockStoreTest: Increase threshold for performanceTest() to 2s.
See #2039.
This commit is contained in:
parent
0324b95b3f
commit
551b5a18f7
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user