-
Bug
-
Resolution: Fixed
-
P4
-
16
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8321318 | 11.0.23-oracle | Vikrant Agarwal | P4 | Resolved | Fixed | b01 |
JDK-8322606 | 11.0.23 | Andrew Lu | P4 | Resolved | Fixed | b01 |
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.
```
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.
- backported by
-
JDK-8321318 nsk/share/test/StressOptions stressTime is scaled in getter but not when printed
- Resolved
-
JDK-8322606 nsk/share/test/StressOptions stressTime is scaled in getter but not when printed
- Resolved
- relates to
-
JDK-8252522 nsk/share/test/StressOptions should multiple stressTime by jtreg's timeout-factor
- Resolved
- links to
-
Commit openjdk/jdk11u-dev/43834126
-
Commit openjdk/jdk/9de283b8
-
Review openjdk/jdk11u-dev/2401
-
Review openjdk/jdk/1545
(2 links to)