Skip to content

Commit 40a7e8f

Browse files
Merge pull request #45 from redis-field-engineering/FIELDENG_676_Prometheus_alerts
improve rule testing output
2 parents 4679a0f + 6172a19 commit 40a7e8f

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)