Skip to content

Commit 5399b1f

Browse files
committed
Test: Use longer timeouts due to minHeartbeatFrequency
1 parent c685355 commit 5399b1f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ private void waitFor(BoskDriver driver) throws IOException, InterruptedException
168168
//
169169
// Unfortunately, this makes these tests inevitably slow.
170170
//
171-
long sleepTime = 10L * driverSettings.timescaleMS();
171+
long sleepTime = 12L * driverSettings.timescaleMS();
172172
LOGGER.debug("Waiting for {} ms", sleepTime);
173173
Thread.sleep(sleepTime);
174174
LOGGER.debug("...done waiting");

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ void quiescent_noErrors() throws InterruptedException, IOException {
111111
AbstractMongoDriverTest::initialRoot,
112112
BoskConfig.<TestEntity>builder().driverFactory(driverFactory).build());
113113

114-
Thread.sleep(10*SHORT_TIMESCALE);
114+
Thread.sleep(12*SHORT_TIMESCALE);
115115

116116
errorRecorder.assertAllClear("after quiescent period");
117117

0 commit comments

Comments
 (0)