From 04ab7ac4e1312c5a5332f37cbb81b0d98686936d Mon Sep 17 00:00:00 2001 From: Unitech Date: Mon, 3 Sep 2018 17:30:19 +0200 Subject: [PATCH] fix: tmp fix io@beta + rename metric --- test/e2e/cli/app-configuration.sh | 2 +- test/fixtures/probes.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/e2e/cli/app-configuration.sh b/test/e2e/cli/app-configuration.sh index 35c8a74ff..ab70c880c 100644 --- a/test/e2e/cli/app-configuration.sh +++ b/test/e2e/cli/app-configuration.sh @@ -56,7 +56,7 @@ echo "Wait for init..." sleep 1 exists 'probe test-probe exist' "test-probe" -exists 'probe Event Loop Latency exist' "Loop delay" +exists 'probe Event Loop Latency exist' "Event Loop Latency" exists 'probe Event Loop Latency default value' "agg_type: 'avg'" diff --git a/test/fixtures/probes.js b/test/fixtures/probes.js index 28b346775..55609b472 100644 --- a/test/fixtures/probes.js +++ b/test/fixtures/probes.js @@ -1,7 +1,7 @@ var pmx = require('@pm2/io'); -var conf = pmx.init(); +var conf = pmx.init({}); var http = require('http');