Uploaded image for project: 'Kudu'
  1. Kudu
  2. KUDU-2420

Support parallel java tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.7.0
    • 1.8.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.

      Attachments

        Activity

          People

            granthenke Grant Henke
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: