chia7712 commented on code in PR #20620:
URL: https://github.com/apache/kafka/pull/20620#discussion_r2393972200


##########
streams/integration-tests/src/test/java/org/apache/kafka/streams/integration/AdjustStreamThreadCountTest.java:
##########
@@ -272,16 +272,16 @@ public void shouldAddAndRemoveThreadsMultipleTimes() 
throws InterruptedException
             stateTransitionHistory.clear();
 
             final CountDownLatch latch = new CountDownLatch(2);
-            final Thread one = adjustCountHelperThread(kafkaStreams, 4, latch);
-            final Thread two = adjustCountHelperThread(kafkaStreams, 6, latch);
+            final Thread one = adjustCountHelperThread(kafkaStreams, 2, latch);
+            final Thread two = adjustCountHelperThread(kafkaStreams, 3, latch);
             Set<ThreadMetadata> threadMetadata = null;
 
             AssertionError testError = null;
             try {
                 two.start();
                 one.start();
 
-                assertTrue(latch.await(30, TimeUnit.SECONDS));
+                assertTrue(latch.await(90, TimeUnit.SECONDS));

Review Comment:
   Why increase the timeout when the number of threads is reduced?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to