Skip to content

Commit 7bf49d7

Browse files
authored
chore: use real exit codes for Postgres tests in CI (mozilla-services#1944)
1 parent 8b15ac5 commit 7bf49d7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.circleci/config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -955,8 +955,6 @@ workflows:
955955
only: master
956956
- deploy-spanner-python-utils:
957957
requires:
958-
- mysql-e2e-tests
959-
- postgres-e2e-tests
960958
- spanner-e2e-tests
961959
filters:
962960
tags:

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ docker_run_postgres_e2e_tests:
110110
exit_code=$$?;
111111
docker cp postgres-e2e-tests:/postgres_integration_results.xml ${POSTGRES_INT_JUNIT_XML};
112112
docker cp postgres-e2e-tests:/postgres_no_jwk_integration_results.xml ${POSTGRES_NO_JWK_INT_JUNIT_XML};
113-
exit 0;
113+
exit $$exit_code;
114114

115115
.ONESHELL:
116116
docker_run_spanner_e2e_tests:
@@ -172,7 +172,7 @@ postgres_test_with_coverage:
172172
cargo llvm-cov --summary-only --json --output-path ${POSTGRES_COVERAGE_JSON} \
173173
nextest --workspace --no-default-features --features=syncstorage-db/postgres --features=tokenserver-db/postgres --features=py_verifier --profile ${TEST_PROFILE}; exit_code=$$?
174174
mv target/nextest/${TEST_PROFILE}/junit.xml ${POSTGRES_UNIT_JUNIT_XML}
175-
exit 0
175+
exit $$exit_code
176176

177177
.ONESHELL:
178178
run_token_server_integration_tests:

0 commit comments

Comments
 (0)