|
|
@ -51,10 +51,9 @@ async function testMqtt(mqttSuccessMessage, mqttCheckType, receivedMessage) {
|
|
|
|
return heartbeat;
|
|
|
|
return heartbeat;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const isInCIWithRuntime = !!process.env.CI && process.platform === "linux" && process.arch === "x64";
|
|
|
|
|
|
|
|
describe("MqttMonitorType", {
|
|
|
|
describe("MqttMonitorType", {
|
|
|
|
concurrency: true,
|
|
|
|
concurrency: true,
|
|
|
|
skip: !process.env.CI || isInCIWithRuntime
|
|
|
|
skip: !!process.env.CI && (process.platform !== "linux" || process.arch !== "x64")
|
|
|
|
}, () => {
|
|
|
|
}, () => {
|
|
|
|
test("valid keywords (type=default)", async () => {
|
|
|
|
test("valid keywords (type=default)", async () => {
|
|
|
|
const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");
|
|
|
|
const heartbeat = await testMqtt("KEYWORD", null, "-> KEYWORD <-");
|
|
|
|