Skip to content

Commit

Permalink
Disambiguate failure logging
Browse files Browse the repository at this point in the history
  • Loading branch information
willmostly committed Jan 10, 2025
1 parent 706f94c commit 014a177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/gateway/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ for test_name in "${TEST_NAMES[@]}"; do
if ! time ct install "${CT_ARGS[@]}" --charts="${testCaseCharts[$test_name]}" --helm-extra-set-args "$HELM_EXTRA_SET_ARGS ${testCases[$test_name]}"; then
echo 1>&2 "❌ Test $test_name failed"
echo 1>&2 "Test logs:"
kubectl --namespace "$NAMESPACE" logs --tail=-1 --selector app.kubernetes.io/component=test --all-containers=true
kubectl --namespace "$NAMESPACE" logs --tail=-1 --selector app.kubernetes.io/component=test --all-containers=true --prefix=true
result=1
else
echo 1>&2 "✅ Test $test_name completed"
Expand Down

0 comments on commit 014a177

Please sign in to comment.