Skip to content

Commit

Permalink
[Flaky #158318] Catch start-thrown errors as they are irrelevant to…
Browse files Browse the repository at this point in the history
… this test (#165319)
  • Loading branch information
afharo authored Sep 1, 2023
1 parent 0d12a05 commit bc37326
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 bc37326

Please sign in to comment.