Skip to content

Commit 6172a19

Browse files
committed
improve rule testing output
1 parent 4679a0f commit 6172a19

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

prometheus_v2/test_all_rules.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/bin/zsh
22

33
for test in $(find ./tests -type f); do
4-
promtool test rules "$test";
5-
done
4+
res=`promtool test rules "$test"`
5+
echo "test $test $res"
6+
done

0 commit comments

Comments
 (0)