lhotari opened a new pull request #10565: URL: https://github.com/apache/pulsar/pull/10565
### Motivation - TestRetrySupport will call the cleanup & setup methods between test retries to enable test retries. Test retries for Pulsar Functions were broken since Functions Worker wasn't part of these calls. - The change also ensures correct startup order so that the Pulsar cluster is started before the Functions worker. - When running tests on JDK11 there were odd test failures that indicated an incorrect startup order. The problems went away with these changes. **These changes are necessary for running integration tests on JDK11.** ### Modifications - remove `@BeforeClass` annotation from `setupFunctionWorkers` method and call it in an overridden `setupCluster` method. - remove `@AfterClass` annotation from `teardownFunctionWorkers` method and call it in an overridden `tearDownCluster` method. - remove unnecessary initialization calls from some integration test classes. -- 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: us...@infra.apache.org