-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b27
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8337538 | 21.0.6-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8329854 | 21.0.4 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
JDK-8337541 | 17.0.14-oracle | Shivangi Gupta | P4 | Resolved | Fixed | b01 |
JDK-8340299 | 17.0.14 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
This OutputAnalyzer has a getExitValue() method. In its current form, when this method is called, it always logs something like:
[2023-11-24T11:47:54.557561Z] Waiting for completion for process 24909
[2023-11-24T11:47:54.557873Z] Waiting for completion finished for process 24909
[2023-11-24T11:47:54.612609Z] Waiting for completion for process 24909
[2023-11-24T11:47:54.612682Z] Waiting for completion finished for process 24909
[2023-11-24T11:47:54.614500Z] Waiting for completion for process 24909
[2023-11-24T11:47:54.614542Z] Waiting for completion finished for process 24909
[2023-11-24T11:47:54.640945Z] Waiting for completion for process 24909
[2023-11-24T11:47:54.641115Z] Waiting for completion finished for process 24909
Notice that even after the process had completed and the exit value already known, there were additional logs which said "Waiting for completion of process".
There shouldn't have been additional "Waiting for completion for process" logging after the first:
Waiting for completion finished for process 24909
- backported by
-
JDK-8329854 [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
- Resolved
-
JDK-8337538 [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
- Resolved
-
JDK-8337541 [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
- Resolved
-
JDK-8340299 [test] OutputAnalyzer.getExitValue() unnecessarily logs even when process has already completed
- Resolved
- links to
-
Commit openjdk/jdk21u-dev/e5ee283b
-
Commit openjdk/jdk/672f3732
-
Commit(master) openjdk/jdk17u-dev/5a6a4251
-
Review openjdk/jdk21u-dev/458
-
Review(master) openjdk/jdk17u-dev/2879
-
Review(master) openjdk/jdk/16919