aboutsummaryrefslogtreecommitdiff
path: root/end-to-end-test.sh
diff options
context:
space:
mode:
authorJohannes 'fish' Ziemke <github@freigeist.org>2017-01-06 12:36:26 +0100
committerJohannes 'fish' Ziemke <github@freigeist.org>2017-01-06 12:36:26 +0100
commit2e47fcb8c556a0b135004f69e2225f5e05c19e56 (patch)
tree20a34b30d78ece401cb6ce93248473a46a42525b /end-to-end-test.sh
parent17e71b0a16b1cf9cc406129a8adc95e6cb704250 (diff)
downloadprometheus_node_collector-2e47fcb8c556a0b135004f69e2225f5e05c19e56.tar.bz2
prometheus_node_collector-2e47fcb8c556a0b135004f69e2225f5e05c19e56.tar.xz
prometheus_node_collector-2e47fcb8c556a0b135004f69e2225f5e05c19e56.zip
Only store relevant e2e output
This makes commits ligher/more readable when updating the output.
Diffstat (limited to 'end-to-end-test.sh')
-rwxr-xr-xend-to-end-test.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/end-to-end-test.sh b/end-to-end-test.sh
index 37e72b8..5c17e75 100755
--- a/end-to-end-test.sh
+++ b/end-to-end-test.sh
@@ -115,8 +115,8 @@ get() {
115 115
116sleep 1 116sleep 1
117 117
118get "127.0.0.1:${port}/metrics" > "${tmpdir}/e2e-output.txt" 118get "127.0.0.1:${port}/metrics" | grep -E -v "${skip_re}" > "${tmpdir}/e2e-output.txt"
119 119
120diff -u \ 120diff -u \
121 <(grep -E -v "${skip_re}" "collector/fixtures/e2e-output.txt") \ 121 "collector/fixtures/e2e-output.txt" \
122 <(grep -E -v "${skip_re}" "${tmpdir}/e2e-output.txt") 122 "${tmpdir}/e2e-output.txt"