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

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

XMLWordPrintable

    • b27

        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.

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

                Created:
                Updated:
                Resolved: