Skip to content

Commit 2a1e37a

Browse files
committed
Raise sleep time in ShutdownIT
1 parent 6da12e3 commit 2a1e37a

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
@@ -118,7 +118,7 @@ public void should_fail_requests_when_session_is_closed() throws Exception {
118118
}
119119
});
120120
}
121-
TimeUnit.MILLISECONDS.sleep(100);
121+
TimeUnit.MILLISECONDS.sleep(1000);
122122
session.forceCloseAsync();
123123
assertThat(gotSessionClosedError.await(10, TimeUnit.SECONDS))
124124
.as("Expected to get the 'Session is closed' error shortly after shutting down")

0 commit comments

Comments
 (0)