Skip to content

Commit

Permalink
Correct smoke tests expected results (#155)
Browse files Browse the repository at this point in the history
  • Loading branch information
shirmoran authored Dec 10, 2024
1 parent 29d4b88 commit a4f23f8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/ci/smoke_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@ echo "$crJson" | jq

# Run checks for verdict and counters.
export EXPECTED_VERDICT=${EXPECTED_VERDICT:-"pass"}
export EXPECTED_TOTAL_TCS=${EXPECTED_TOTAL_TCS:-"99"}
export EXPECTED_TOTAL_TCS=${EXPECTED_TOTAL_TCS:-"100"}
export EXPECTED_FAILED=${EXPECTED_FAILED:-"0"}
export EXPECTED_PASSED=${EXPECTED_PASSED:-"5"}
export EXPECTED_SKIPPED=${EXPECTED_SKIPPED:-"94"}
export EXPECTED_SKIPPED=${EXPECTED_SKIPPED:-"95"}

# Check the verdit is pass
echo "$crJson" | jq 'if .status.report.verdict == env.EXPECTED_VERDICT then "verdict is "+env.EXPECTED_VERDICT else error("verdict mismatch: \(.status.report.verdict), expected "+env.EXPECTED_VERDICT) end'
Expand Down

0 comments on commit a4f23f8

Please sign in to comment.