Skip to content

Commit

Permalink
Increase the retries for one unstable test
Browse files Browse the repository at this point in the history
  • Loading branch information
nazarhussain committed Sep 21, 2023
1 parent b23d74b commit 39afebc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/beacon-node/test/e2e/network/gossipsub.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ describe("gossipsub / worker", function () {

function runTests(this: Mocha.Suite, {useWorker}: {useWorker: boolean}): void {
if (this.timeout() < 20 * 1000) this.timeout(150 * 1000);
this.retries(0); // This test fail sometimes, with a 5% rate.
this.retries(2); // This test fail sometimes, with a 5% rate.

const afterEachCallbacks: (() => Promise<void> | void)[] = [];
afterEach(async () => {
Expand Down

0 comments on commit 39afebc

Please sign in to comment.