showuon commented on a change in pull request #9887: URL: https://github.com/apache/kafka/pull/9887#discussion_r557256217
########## File path: streams/src/test/java/org/apache/kafka/streams/integration/AdjustStreamThreadCountTest.java ########## @@ -119,7 +119,6 @@ public void shouldAddStreamThread() throws Exception { .sorted().toArray(), equalTo(new String[] {"1", "2", "3"}) ); - waitForApplicationState(Collections.singletonList(kafkaStreams), KafkaStreams.State.REBALANCING, DEFAULT_DURATION); Review comment: Agree! The test change I have investigated and did much refactor on that. But the synchronization issue is not what I covered. Nice catch! ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org