Skip to content

Commit

Permalink
bumped delay for ttl to 2 sec in test as newer servers are less aggre…
Browse files Browse the repository at this point in the history
…ssive in cleanup
  • Loading branch information
aricart committed Mar 12, 2024
1 parent 3287b40 commit 7971e6c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions jetstream/tests/kv_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,7 @@ Deno.test("kv - ttl", async () => {
const e = await b.get("x");
assert(e);
assertEquals(sc.decode(e.value), "hello");

await delay(1500);
await delay(2000);
assertEquals(await b.get("x"), null);

await cleanup(ns, nc);
Expand Down

0 comments on commit 7971e6c

Please sign in to comment.