From e9adbf18d323f7cc3437ddcf19714df1fc124b7c Mon Sep 17 00:00:00 2001 From: James Shubin Date: Tue, 14 Feb 2017 12:10:54 -0500 Subject: [PATCH] test: prometheus: Fix up test --- test/shell/prometheus-3.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/test/shell/prometheus-3.sh b/test/shell/prometheus-3.sh index eedb8bfe..7cf2119e 100755 --- a/test/shell/prometheus-3.sh +++ b/test/shell/prometheus-3.sh @@ -1,7 +1,7 @@ #!/bin/bash -e -# run empty graph, with prometheus support -timeout --kill-after=20s 15s ./mgmt run --tmp-prefix --prometheus --yaml prometheus-3.yaml & +# run a graph, with prometheus support +timeout --kill-after=30s 25s ./mgmt run --tmp-prefix --no-pgp --prometheus --yaml prometheus-3.yaml & pid=$! sleep 10s # let it converge @@ -14,7 +14,6 @@ curl 127.0.0.1:9233/metrics | grep '^mgmt_checkapply_total{apply="true",errorful # One CheckApply for a File ; in noop mode. curl 127.0.0.1:9233/metrics | grep '^mgmt_checkapply_total{apply="false",errorful="false",eventful="true",kind="File"} 1$' - killall -SIGINT mgmt # send ^C to exit mgmt wait $pid # get exit status exit $?