Skip to content

Commit 387f757

Browse files
committed
Raise test timeouts in ShutdownIT
1 parent 4dc7de3 commit 387f757

File tree

1 file changed

+1
-1
lines changed
  • integration-tests/src/test/java/com/datastax/oss/driver/core/session

1 file changed

+1
-1
lines changed

integration-tests/src/test/java/com/datastax/oss/driver/core/session/ShutdownIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void should_fail_requests_when_session_is_closed() throws Exception {
120120
}
121121
TimeUnit.MILLISECONDS.sleep(100);
122122
session.forceCloseAsync();
123-
assertThat(gotSessionClosedError.await(1, TimeUnit.SECONDS))
123+
assertThat(gotSessionClosedError.await(10, TimeUnit.SECONDS))
124124
.as("Expected to get the 'Session is closed' error shortly after shutting down")
125125
.isTrue();
126126
requestExecutor.shutdownNow();

0 commit comments

Comments
 (0)