mjsax commented on code in PR #17078: URL: https://github.com/apache/kafka/pull/17078#discussion_r1742707126
########## streams/src/main/java/org/apache/kafka/streams/processor/internals/GlobalStreamThread.java: ########## @@ -288,7 +288,6 @@ public void run() { return; } - setState(RUNNING); Review Comment: I could expose the race condition by putting a `sleep(100)` right before this `setState` call, making the tests fail 100%. -- After moving the `setState` (and keeping the sleep) the test passed 100% of the time. -- 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: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org