Skip to content

Commit 46219d3

Browse files
committed
fix(tests/spanner): Fix swallowing of spanner integration test failures
This PR fixes an issue with the CI/CD setup which caused failures from spanner integration tests to be swallowed, meaning the errors were just logged and the test ran green. This PR fixes that by updating the command needed to run the spanner test.
1 parent 52146c5 commit 46219d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.ci/integration.cloudbuild.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -522,7 +522,7 @@ steps:
522522
.ci/test_with_coverage.sh \
523523
"Spanner" \
524524
spanner \
525-
spanner || echo "Integration tests failed."
525+
spanner || { echo "Integration tests failed."; exit 1; }
526526
else
527527
echo "No relevant changes for Spanner. Skipping shard."
528528
exit 0

0 commit comments

Comments
 (0)