Skip to content

Commit c05816b

Browse files
committed
Merge branch 'main' into JAVA-4586_bulk-write
2 parents 719572a + c70a3f9 commit c05816b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

driver-core/src/test/functional/com/mongodb/internal/operation/AsyncCommandBatchCursorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,7 @@ void shouldSkipKillsCursorsCommandWhenTimeoutExceptionHaveNetworkErrorCause() {
196196
}
197197

198198
@Test
199+
@SuppressWarnings("try")
199200
void closeShouldResetTimeoutContextToDefaultMaxTime() {
200201
long maxTimeMS = 10;
201202
com.mongodb.assertions.Assertions.assertTrue(maxTimeMS < TIMEOUT.toMillis());

driver-core/src/test/unit/com/mongodb/internal/operation/CommandBatchCursorTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ void shouldSkipKillsCursorsCommandWhenTimeoutExceptionHaveNetworkErrorCause() {
179179
}
180180

181181
@Test
182+
@SuppressWarnings("try")
182183
void closeShouldResetTimeoutContextToDefaultMaxTime() {
183184
long maxTimeMS = 10;
184185
com.mongodb.assertions.Assertions.assertTrue(maxTimeMS < TIMEOUT.toMillis());

0 commit comments

Comments
 (0)