From 4bbd9430f3b82bea346184989e140206ff586d7b Mon Sep 17 00:00:00 2001 From: Frank Elsinga Date: Fri, 4 Oct 2024 02:48:42 +0200 Subject: [PATCH] made sure that CI is happy --- test/backend-test/test-mqtt.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/backend-test/test-mqtt.js b/test/backend-test/test-mqtt.js index 284f8a61..2c0a0d32 100644 --- a/test/backend-test/test-mqtt.js +++ b/test/backend-test/test-mqtt.js @@ -5,6 +5,11 @@ const mqtt = require("mqtt"); const { MqttMonitorType } = require("../../server/monitor-types/mqtt"); const { UP, PENDING } = require("../../src/util"); +if (!!process.env.CI && process.platform !== "linux") { + console.log("testcontainers are not available in the github CI on non-linux platforms. Skipping"); + return; +} + /** * Runs an MQTT test with the * @param {string} mqttSuccessMessage the message that the monitor expects