From 9d8b77066c1fe107a3f254b758448faa6b6c36a7 Mon Sep 17 00:00:00 2001 From: Alberto Ricart Date: Thu, 9 Jun 2022 16:30:14 -0500 Subject: [PATCH] added test version guard --- tests/jetream409_test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/jetream409_test.ts b/tests/jetream409_test.ts index 6dd2b5ee..a75fdc65 100644 --- a/tests/jetream409_test.ts +++ b/tests/jetream409_test.ts @@ -188,6 +188,9 @@ Deno.test("409 - max_bytes", async () => { Deno.test("409 - max msg size", async () => { const { ns, nc } = await setup(jetstreamServerConf({}, true)); + if (await notCompatible(ns, nc, "2.8.3")) { + return; + } const { stream, subj } = await initStream(nc); const jsm = await nc.jetstreamManager();