When running tests in DebugNative I caught this testbug, `InitializeJavaFX` 
tests used a 5-second startup timeout while in all other tests we assume a 15 
second timeout.

This change fixes this discrepancy by using `test.util.Util.STARTUP_TIMEOUT` 
constant instead of a magic number in `InitializeJavaFXLaunchBase`. This lines 
up the startup timeout for these tests with all other tests we have.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

-------------

Commit messages:
 - Change timeout magic number to Util.STARTUP_TIMEOUT
 - Increase InitializeJavaFXLaunchBase timeout to 15s

Changes: https://git.openjdk.org/jfx/pull/2300/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=2300&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8389363
  Stats: 4 lines in 1 file changed: 2 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jfx/pull/2300.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/2300/head:pull/2300

PR: https://git.openjdk.org/jfx/pull/2300

Reply via email to