Skip to content

Commit 72b40ee

Browse files
committed
Test: SHORT_TIMESCALE = 50.
This is probably cutting things a little close, but I haven't seen it fail yet, and really we ought to be attempting some pretty short timescales to make sure we have all our timeouts tuned correctly anyway. It also happens to make the tests run faster.
1 parent 5399b1f commit 72b40ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bosk-mongo/src/test/java/works/bosk/drivers/mongo/internal/TestParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ public class TestParameters {
1717
* Too short, and the tests might not be testing the right thing.
1818
* This should be much larger than the expected latency of MongoDB and the network.
1919
*/
20-
public static final int SHORT_TIMESCALE = 100;
20+
public static final int SHORT_TIMESCALE = 50;
2121

2222
/**
2323
* For tests that are not expecting timeouts. A nice long value makes spurious test failures unlikely.

0 commit comments

Comments
 (0)