Skip to content

Commit 5a0b664

Browse files
author
zhilingc
committed
Move test exit code
1 parent 9aee5c5 commit 5a0b664

2 files changed

Lines changed: 5 additions & 3 deletions

File tree

infra/scripts/test-end-to-end-batch-dataflow.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,6 @@ if [[ ${TEST_EXIT_CODE} != 0 ]]; then
216216
fi
217217

218218
cd ${ORIGINAL_DIR}
219-
exit ${TEST_EXIT_CODE}
220219

221220
echo "
222221
============================================================
@@ -243,4 +242,6 @@ while read line
243242
do
244243
echo $line
245244
gcloud dataflow jobs cancel $line --region=${GCLOUD_REGION}
246-
done < ingesting_jobs.txt
245+
done < ingesting_jobs.txt
246+
247+
exit ${TEST_EXIT_CODE}

infra/scripts/test-end-to-end-batch.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,6 @@ if [[ ${TEST_EXIT_CODE} != 0 ]]; then
281281
fi
282282

283283
cd ${ORIGINAL_DIR}
284-
exit ${TEST_EXIT_CODE}
285284

286285
echo "
287286
============================================================
@@ -290,3 +289,5 @@ Cleaning up
290289
"
291290

292291
bq rm -r -f ${GOOGLE_CLOUD_PROJECT}:${DATASET_NAME}
292+
293+
exit ${TEST_EXIT_CODE}

0 commit comments

Comments
 (0)