Skip to content

Commit

Permalink
flapper (#84)
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Ricart <[email protected]>
  • Loading branch information
aricart authored Oct 16, 2024
1 parent ed005f1 commit 1cf1725
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion kv/tests/kv_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -399,8 +399,9 @@ Deno.test("kv - history and watch cleanup", async () => {
}
}

await delay(500);

// need to give some time for promises to be resolved
await delay(100);
const nci = nc as NatsConnectionImpl;
const min = nci.protocol.subscriptions.getMux() ? 1 : 0;
assertEquals(nci.protocol.subscriptions.size(), min);
Expand Down

0 comments on commit 1cf1725

Please sign in to comment.