Skip to content

Commit

Permalink
[Flaky elastic#158318] Catch start-thrown errors as they are irrele…
Browse files Browse the repository at this point in the history
…vant to this test
  • Loading branch information
afharo committed Aug 31, 2023
1 parent 99032df commit f525ae4
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,9 @@ describe('incompatible_cluster_routing_allocation', () => {
await root.preboot();
await root.setup();

root.start();
root.start().catch(() => {
// Silent catch because the test might be done and call shutdown before starting is completed, causing unwanted thrown errors.
});

// Wait for the INIT -> INIT action retry
await retryAsync(
Expand Down

0 comments on commit f525ae4

Please sign in to comment.