made sure that CI is happy

This commit is contained in:
Frank Elsinga 2024-10-04 02:48:42 +02:00
parent 18d80b254b
commit 4bbd9430f3

View file

@ -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