Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.7.0
-
None
-
None
Description
Java tests (integration or otherwise) that use the MiniCluster should do @Before/@After for cluster start/cleanup, so that they don't need to individually clean up after themselves. They shouldn't use @BeforeClass/@AfterClass when possible to support parallel unit tests. Each test should be run in it's own JVM to ensure isolation as well.
Tests that use 3 masters currently run serially as their master ports are all hard coded. Using ephemeral ports should eliminate this requirement.