1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

use CI flag to skip MQTT tests

This commit is contained in:
Steve-Mcl 2022-03-21 14:59:10 +00:00
parent 40a9dce869
commit ecf1847dd2

View File

@ -20,9 +20,9 @@
const should = require("should");
const helper = require("node-red-node-test-helper");
const mqttNodes = require("nr-test-utils").require("@node-red/nodes/core/network/10-mqtt.js");
const BROKER_HOST = process.env.MQTT_BROKER_SERVER || "broker.emqx.io";// "mqtt.eclipse.org"; //"test.mosquitto.org"; //"localhost";
const BROKER_HOST = process.env.MQTT_BROKER_SERVER || "localhost";
const BROKER_PORT = process.env.MQTT_BROKER_PORT || 1883;
const skipTests = process.env.MQTT_SKIP_TESTS == "true";
const skipTests = process.env.CI == "true" || process.env.CI == "1"; //CI Env - skip MQTT tests
describe('MQTT Nodes', function () {