Skip to content

Commit bf4aba9

Browse files
committed
[TEST] added a check that the clients have flushed before resending request
1 parent d50dde8 commit bf4aba9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/auth_test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -979,6 +979,8 @@ Deno.test("auth - mux sub ok", async () => {
979979
});
980980

981981
await proms;
982+
await Promise.all([nc.flush(), sc.flush()]);
983+
982984
await nc.request("q");
983985
await cleanup(ns, nc, sc);
984986
});

0 commit comments

Comments
 (0)