Skip to content

Commit 914facf

Browse files
committed
Increase timeout in a flaky test
`SessionPoolingStressIT` seems to be flaky but never has any worker threads running after failure. This commit increases the executor shutdown timeout.
1 parent 6efcacc commit 914facf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

driver/src/test/java/org/neo4j/driver/v1/stress/SessionPoolingStressIT.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public void shouldWorkFine() throws Throwable
122122

123123
stop.set( true );
124124
executor.shutdown();
125-
assertTrue( executor.awaitTermination( 30, TimeUnit.SECONDS ) );
125+
assertTrue( executor.awaitTermination( 90, TimeUnit.SECONDS ) );
126126

127127
Throwable failure = failureReference.get();
128128
if ( failure != null )

0 commit comments

Comments
 (0)