Uploaded image for project: 'Code Tools'
  1. Code Tools
  2. CODETOOLS-7901681

Functionality to start the test a few times

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Rejected
    • Icon: P4 P4
    • None
    • None
    • tools
    • None
    • generic
    • generic

      Currently jtreg do not provide the way to run the test a few times. It is useful for the tests which depends from some static caches which cannot be cleared. For example some of the code in JavaBeans work differently time to time, because it depends from the order of Class.getMethods(). The order of methods in this case is not specified, but to test the fix I need to add a few @run tags because there is no way to reset the cache in Class.java.

      Also while working on bugs reported by mach5, I found that it will be useful to run the set of tests in the loop lots of time(to get a fail when the tests run more than 1000 time). It can be done via the shell scrip but probably the built-in command-line functionality will be better.

            Unassigned Unassigned
            serb Sergey Bylokhov
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: