m1a2st opened a new pull request, #18891: URL: https://github.com/apache/kafka/pull/18891
Jira: https://issues.apache.org/jira/browse/KAFKA-16918 There are six conditions: 1. future is cancel: It will fail at L603, the error message is `Expected NullPointerException, but got java.util.concurrent.CancellationException` 2. future is timeout: It will fail at L609, the error message is `Future is not completed within 15000 millisecond.` 3. future is interrupt: It will fail at L603, the error message is `Expected NullPointerException, but got java.lang.InterruptedException` 4. future is completed without any exception: It will fail at L600, the error message is `Should throw expected exception NullPointerException but nothing was thrown.` 5. future throw unexcepted exception: It will fail at L603, the error message is `Expected NullPointerException, but got java.lang.RuntimeException` 6. future throw excepted exception: pass this assertion ### 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
