File tree Expand file tree Collapse file tree
driver-sync/src/test/functional/com/mongodb/client Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -319,7 +319,7 @@ public void connectionPoolCleared(final ConnectionPoolClearedEvent event) {
319319 .append ("ingressConnectionEstablishmentMaxQueueDepth" , 1 ));
320320
321321 // Add a document to the collection
322- collection .insertOne (Document .parse ("{}" ));// change
322+ collection .insertOne (Document .parse ("{}" ));
323323
324324 // Run 100 parallel find operations with 2-seconds sleep
325325 ExecutorService executor = Executors .newFixedThreadPool (100 );
@@ -329,7 +329,7 @@ public void connectionPoolCleared(final ConnectionPoolClearedEvent event) {
329329
330330 // Wait for all operations to complete (max 10 seconds)
331331 executor .shutdown ();
332- boolean terminated = executor .awaitTermination (20 , SECONDS );
332+ boolean terminated = executor .awaitTermination (10 , SECONDS );
333333 assertTrue ("Executor did not terminate within timeout" , terminated );
334334
335335 // Assert at least 10 ConnectionCheckOutFailedEvents occurred
You can’t perform that action at this time.
0 commit comments