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

Limit run time for java/lang/invoke/LFCaching tests

    XMLWordPrintable

    Details

      Backports

        Description

        Currently, the java/lang/invoke/LFCaching stress tests are running in tier1. They run for TIMEOUT*0.9 seconds, which currently means they execute for about 216 seconds. It makes the java/lang/invoke/LFCaching/LFSingleThreadCachingTest.java the longest test in the entire tier1 run.

        It is understandable to tie the run time of the test to the test timeout when the test is waiting for something, so other parallel tests can enjoy free resources to run. Having the multi-minute active stress test is less useful. Moreover, if default timeout ever increases, the test would suddenly run for even longer.

        I propose we cut the run time for these tests from the test timeout, and set it to a more reasonable 1 minute. Since tier1 tests run frequently, we would still have a lot of coverage across multiple tier1 runs.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                shade Aleksey Shipilev
                Reporter:
                shade Aleksey Shipilev
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: