Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
darrachequesne committed May 8, 2024
1 parent 834d3d5 commit e16ae22
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ export function setup({
redisClients.push(redisClient);
ports.push(port);
if (servers.length === nodeCount) {
// ensure all nodes know each other
servers[0].emit("ping");
servers[1].emit("ping");
servers[2].emit("ping");

await sleep(200);

resolve({
Expand Down

0 comments on commit e16ae22

Please sign in to comment.