Elffuss BraidHub

kikocis/java-driver public

Increase await from 500ms to 1s in closeDuringClusterInitTest.

Improves test resiliency on CI systems.
Changesetf2fc528aa397660800cec96be7b8c18199718e9e1034b1ac8a69fef160228466
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-05-27 18:49 -05:00
CommitterAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-05-27 18:50 -05:00
Parentsb8caef2fdfab

Browse the files at this changeset

1 file changed

modified driver-core/src/test/java/com/datastax/driver/core/SessionTest.java +1 −1
@@ -287,7 +287,7 @@
287287 startLatch.countDown();
288288
289289 executor.shutdown();
290- boolean normalShutdown = executor.awaitTermination(500, TimeUnit.MILLISECONDS);
290+ boolean normalShutdown = executor.awaitTermination(1, TimeUnit.SECONDS);
291291 assertTrue(normalShutdown);
292292
293293 // The deadlock occurred here before JAVA-418