Skip to content

Commit

Permalink
fixed the skip condition correctly targetting the platforms I want
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm committed Oct 4, 2024
1 parent 78d3506 commit 25136a7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/backend-test/test-mqtt.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 <-");
Expand Down

0 comments on commit 25136a7

Please sign in to comment.