Skip to content

Commit

Permalink
changed continue-on-error to if: always() for system_test.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
iadgovuser26 committed Jul 22, 2024
1 parent 113a872 commit 4872c86
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .ci/system-tests/sys_test_common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,14 @@ provisionTpm2() {
else
echo "Provisioning failed as expected."
fi
elif [[ $provisionOutput == *"Provisioning successful"* ]];
elif [[ $provisionOutput == *"Provisioning successful"* ]]; then
if [[ $expected_result == "fail" ]]; then
((failedTests++))
echo "!!! Provisioning passed, but was expected to fail."
else
echo "Provisioning passed as expected."
fi
else
fi
else
((failedTests++))
echo "Provisioning failed. Provisioner provided an unexpected output."
fi
Expand Down

0 comments on commit 4872c86

Please sign in to comment.