RaidenE1 commented on code in PR #20620:
URL: https://github.com/apache/kafka/pull/20620#discussion_r2408142396
##########
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:
Hi @chia7712. I think this is not the right way to fix the test, also it's
taken by someone else in the community. I guess I'll close this PR. Thanks!
--
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]