Commit caecb1a
committed
fix(test/jre): bump path-fallback test timeout to 30s for Windows
`falls through to PATH when JAVA_HOME is empty` walks `where java`
(Windows) / `which java` (POSIX). Windows CI agents can take >10s
to return when the JRE binary is cold-cached, blowing the default
10s per-test timeout. Same shape as the async-which non-existent-
binary test fix from db1665d.
Bumping to 30s; the test remains tolerant of a `undefined` result
(no JRE on PATH), so the assertion is only the `source === 'path'`
positive case.1 parent c26f6b2 commit caecb1a
1 file changed
Lines changed: 16 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
| |||
0 commit comments