Skip to content

Commit

Permalink
test: fix p2p socket test
Browse files Browse the repository at this point in the history
  • Loading branch information
air1one committed Jan 21, 2020
1 parent 12b033b commit 2ccc33e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion __tests__/integration/core-p2p/socket-server/peer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ describe("Peer socket endpoint", () => {
await delay(1000);

expect(socket.state).toBe("closed");
expect(secondSocket.state).toBe("closed");
expect(secondSocket.state).toBe("open");

// kill workers to reset ipLastError (or we won't pass handshake for 1 minute)
server.killWorkers({ immediate: true });
Expand Down

0 comments on commit 2ccc33e

Please sign in to comment.