chenyulin0719 opened a new pull request, #17310: URL: https://github.com/apache/kafka/pull/17310
It's regarding [KAFKA-17646](https://issues.apache.org/jira/browse/KAFKA-17646). Two issues found in the flaky test: 1. Racing between `streams.close()` and `shutdownHelper()` threads: Resolved it by moving the `streams.close()` call after confirming the KafkaStreams state is in `ERROR` state. 2. Checking for short-lived `PENDING_ERROR` state: Resolved it by changing the assertion to check the log contents. Put the verbose explanation under Jira comment. ### Committer Checklist (excluded from commit message) - [ ] Verify design and implementation - [ ] Verify test coverage and CI build status - [ ] Verify documentation (including upgrade notes) -- 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