From 28c5191195306facbb3ac00d4e277ff8bbc61331 Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Fri, 4 Oct 2024 03:37:52 +0200 Subject: [PATCH] fixed the skip condition correctly targetting the platforms I want --- test/backend-test/test-mqtt.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/backend-test/test-mqtt.js b/test/backend-test/test-mqtt.js index 47601839..45031029 100644 --- a/test/backend-test/test-mqtt.js +++ b/test/backend-test/test-mqtt.js @@ -51,10 +51,9 @@ async function testMqtt(mqttSuccessMessage, mqttCheckType, receivedMessage) { return heartbeat; } -const isInCIWithRuntime = !!process.env.CI && process.platform === "linux" && process.arch === "x64"; describe("MqttMonitorType", { concurrency: true, - skip: !process.env.CI || isInCIWithRuntime + skip: !!process.env.CI && (process.platform !== "linux" || process.arch !== "x64") }, () => { test("valid keywords (type=default)", async () => { const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");