Only store relevant e2e output
This makes commits ligher/more readable when updating the output.
This commit is contained in:
parent
17e71b0a16
commit
2e47fcb8c5
2 changed files with 7 additions and 147 deletions
|
|
@ -115,8 +115,8 @@ get() {
|
|||
|
||||
sleep 1
|
||||
|
||||
get "127.0.0.1:${port}/metrics" > "${tmpdir}/e2e-output.txt"
|
||||
get "127.0.0.1:${port}/metrics" | grep -E -v "${skip_re}" > "${tmpdir}/e2e-output.txt"
|
||||
|
||||
diff -u \
|
||||
<(grep -E -v "${skip_re}" "collector/fixtures/e2e-output.txt") \
|
||||
<(grep -E -v "${skip_re}" "${tmpdir}/e2e-output.txt")
|
||||
"collector/fixtures/e2e-output.txt" \
|
||||
"${tmpdir}/e2e-output.txt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue