lhotari opened a new pull request #9858: URL: https://github.com/apache/pulsar/pull/9858
### Motivate There are some Junit 4 tests among the TestNG tests. There was also one Junit 3 test. Junit 3 and Junit 4 assertion library is used in many locations. The main motivation for this change is to get the current TestNG timeout handling in place for all tests. There are some tests in the pulsar-io-flume module that hang until the build times out. No thread dump gets captured so it's hard to fix the issue. After making this change, it will be possible to observe what causes the test to hang. ### Modifications Migrate Junit 3 and Junit 4 tests to TestNG. Migrate Junit 3 and Junit 4 assertion library usage to TestNG - `junit.framework.Assert` -> `org.testng.Assert` - `org.junit.Assert` -> `org.testng.Assert` ---------------------------------------------------------------- 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: [email protected]
