Commit 0408c70
authored
Wait before exiting testWidgets (#174)
* Wait a few seconds for test cleanup on Windows testWidgets
The testWidgets() test fails consistently on ci.jenkins.io since the
transition from Azure to AWS. Since the tests are already using long
sleep calls for various other purposes, let's sleep at the exit from
the failing test so that there is time for Java to close files.
Testing done
Confirmed that `mvn clean verify` passes on my Linux computer. Rely on
ci.jenkins.io to confirm the fix works on Windows.
* Try a 5 second sleep
The 3 second sleep was enough in 3 of 4 test runs. Let's see if a 5
second sleep improves the failure rate.1 parent d213889 commit 0408c70
File tree
1 file changed
+5
-0
lines changed- src/test/java/org/jenkinsci/plugins/matrixauth
1 file changed
+5
-0
lines changedLines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
292 | 293 | | |
293 | 294 | | |
294 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
295 | 300 | | |
296 | 301 | | |
297 | 302 | | |
| |||
0 commit comments