lhotari opened a new pull request, #19226: URL: https://github.com/apache/pulsar/pull/19226
### Motivation This is a follow up change for #19220 which contained a change to call cleanup methods when a test fails. This change causes problems for later tests which are skipped since the @After* methods get called when the @Before* methods have been skipped. The cleanup methods should only be called in the current test class where the first exception happened ### Modifications - revisit solution so that cleanup methods are only called in the current test class where the first exception happened (when exceptions happen when fail fast mode is enabled) ### Documentation <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. --> - [ ] `doc` <!-- Your PR contains doc changes. Please attach the local preview screenshots (run `sh start.sh` at `pulsar/site2/website`) to your PR description, or else your PR might not get merged. --> - [ ] `doc-required` <!-- Your PR changes impact docs and you will update later --> - [x] `doc-not-needed` <!-- Your PR changes do not impact docs --> - [ ] `doc-complete` <!-- Docs have been already added --> -- 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]
