Skip to content

Commit b6efda3

Browse files
authored
test(gossipsub): increase acceptFrom timeout margin (#3440)
test: increase timeout
1 parent 1ecf0e3 commit b6efda3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/gossipsub/test/accept-from.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ describe('Gossipsub acceptFrom', () => {
6969
expect(scoreSpy.getCall(1)).to.not.be.ok()
7070

7171
// after 1s
72-
await new Promise((resolve) => setTimeout(resolve, 1001))
72+
await new Promise((resolve) => setTimeout(resolve, 1100))
7373

7474
gossipsub.acceptFrom(peerA)
7575
expect(scoreSpy.getCall(1).args[0]).to.be.equal(peerA)

0 commit comments

Comments
 (0)