JDK-8340403 : [TestBug] Timeout in shutdown running QPathTest on Linux
  • Type: Bug
  • Component: javafx
  • Sub-Component: other
  • Affected Version: jfx23
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2024-09-18
  • Updated: 2024-09-19
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
tbdUnresolved
Related Reports
Relates :  
Description
See shutdown timeout in one particular test on Linux.
We may want to increase the timeout value.

```
QPathTest > executionError FAILED
    org.opentest4j.AssertionFailedError: Exceeded timeout limit of 10000 msec
        at app//org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:39)
        at app//org.junit.jupiter.api.Assertions.fail(Assertions.java:134)
        at app//test.util.Util.runAndWait(Util.java:156)
        at app//test.util.Util.runAndWait(Util.java:127)
        at app//test.util.Util.shutdown(Util.java:365)
        at app//test.com.sun.marlin.QPathTest.teardownOnce(QPathTest.java:146)
```

Comments
In order to fix this, we will likely need a variant of Util.runAndWait that takes a timeout value as an argument (with the current 10 seconds being the default).
18-09-2024