Commit 7805588
authored
Fail test if Node#awaitClose times out (#85238)
We rely on nodes stopping gracefully in integ tests, rather than timing
out and using `ThreadPool#shutdownNow` to ignore any remaining cleanup
work. Today we throw an `IOException` if the shutdown wasn't graceful.
With this commit we move to an `AssertionError` so we can be sure that
any such problems result in a test failure.
Relates #851311 parent 8f9d2fa commit 7805588
File tree
1 file changed
+1
-1
lines changed- test/framework/src/main/java/org/elasticsearch/test
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1054 | 1054 | | |
1055 | 1055 | | |
1056 | 1056 | | |
1057 | | - | |
| 1057 | + | |
1058 | 1058 | | |
1059 | 1059 | | |
1060 | 1060 | | |
| |||
0 commit comments