Skip to content

Commit

Permalink
👷 ci: Use JSON report for testing failure
Browse files Browse the repository at this point in the history
  • Loading branch information
W3D3 committed Nov 17, 2023
1 parent 670c02f commit 0f046e9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions chart/templates/tests/test-frontend-connection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ spec:
#args: ["-c", "while true; do echo Welcome to JournalDev; sleep 100;done"]
#args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1 | tee /dev/stderr | grep -qE '([1-9]|[0-9][0-9]) failed|([1-9]|[0-9][0-9]) unexecuted' && exit 1 || exit 0"]
#args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1 | tee log.txt | grep -qE '([1-9]|[0-9][0-9]) failed|([1-9]|[0-9][0-9]) unexecuted' && exit 1 || exit 0"]
args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts 2>&1"]
restartPolicy: Never
args: ["-c", "node_modules/.bin/element run default-user-sim.perf.ts --export 2>&1 && jq -e '.testScripts[].iterationResults[].stepResults[] | select(.status == \"failed\") | .name' reports/default-user-sim.perf/*/data.json >/dev/null && exit 1 || exit 0"]
restartPolicy: Never

0 comments on commit 0f046e9

Please sign in to comment.