Skip to content

Commit ccce096

Browse files
committed
debugging CI
1 parent ef8ada0 commit ccce096

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

jetstream/tests/next_test.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,15 @@ Deno.test("next - consumer not found", async () => {
131131

132132
const js = nc.jetstream();
133133
const c = await js.consumers.get("A", "a");
134+
(nc as NatsConnectionImpl).options.debug = true;
134135
await c.delete();
136+
console.log("----- waiting one second -----");
135137
await delay(1000);
138+
console.log("----- after one second -----");
136139

137140
const exited = assertRejects(
138-
async () => {
139-
await c.next({ expires: 1000 });
141+
() => {
142+
return c.next({ expires: 1000 });
140143
},
141144
Error,
142145
"consumer not found",

0 commit comments

Comments
 (0)