Skip to content

Commit

Permalink
chore: remove test for pmx alert system
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed May 10, 2018
1 parent d0a2a30 commit c43414a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions test/e2e/cli/app-configuration.sh
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ exists 'probe test-probe exist' "test-probe"
exists 'probe Event Loop Latency exist' "Loop delay"

exists 'probe Event Loop Latency default value' "agg_type: 'avg'"
exists 'probe Event Loop Latency default value' "alert: {}"

# Set new value for alert probe
# $pm2 set probe-test.probes.Event\ Loop\ Latency.value 25
Expand All @@ -68,12 +67,5 @@ exists 'probe Event Loop Latency default value' "alert: {}"
# exists 'probe Event Loop Latency alerted' "alert: { cmp: '>', value: 25, mode: 'threshold'"

# Override value for test-probe
$pm2 set probe-test.probes.test-probe.value 30
sleep 1

exists 'probe Event Loop Latency alerted' "value: 30"

$pm2 restart all
sleep 1

exists 'probe Event Loop Latency alerted' "value: 30"
# $pm2 set probe-test.probes.test-probe.value 30
# sleep 1

0 comments on commit c43414a

Please sign in to comment.