Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8304864

[IR Framework] run tests concurrently

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 21
    • hotspot

      We are using more and more IR tests. That is good, we get better coverage and regression tests.
      However, the IR tests are significantly slower than non-IR tests.

      Currently, the IR framework goes through the tests linearly, scenario by scenario. We can parallelise this.

      A first step would be to run each scenario in a separate TestVM, and run all scenarios concurrently. This should work without modifying the tests.

      A more fine-grained level of parallelism could be reached by parallelizing at the @Test level. However, this requires independence between the tests - it should not introduce race-conditions. Maybe this can be disabled by default, and enabled for tests that do not have any shared resources.

            Unassigned Unassigned
            epeter Emanuel Peter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: