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

nsk/share/test/StressOptions stressTime is scaled in getter but not when printed

    XMLWordPrintable

Details

    • b27

    Backports

      Description

        StressOptions was recently changed to take timeout-factor into consideration but getTime() that does the scaling is not used when printing the stress info:
        ```
            public void printInfo(PrintStream out) {
                out.println("Stress time: " + time + " seconds");
                out.println("Stress iterations factor: " + iterationsFactor);
                out.println("Stress threads factor: " + threadsFactor);
                out.println("Stress runs factor: " + runsFactor);
            }
        ```
        So the information printed in the beginning of the tests doesn't show the correct stress time.

        Attachments

          Issue Links

            Activity

              People

                sjohanss Stefan Johansson
                sjohanss Stefan Johansson
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: