Skip to content

Commit

Permalink
Fixes REST test exit
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugh Enxing committed Sep 20, 2023
1 parent b5b7a19 commit e7469e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,9 @@ jobs:
name: Run REST tests
command: |
mkdir -p rest-test-results;
ssh lightsail 'cd tator && for i in $(seq 1 3); do make rq-empty && make test && s=0 && break || s=$? && sleep 10; done; (exit $s)'
final_exit_code=`ssh lightsail 'cd tator && for i in $(seq 1 3); do make rq-empty && make test && s=0 && break || s=$? && sleep 10; done; (exit $s)'`;
ssh lightsail 'test -e tator/rest-junit.xml' && scp lightsail:tator/rest-junit.xml rest-test-results/ || exit 0;
exit $final_exit_code;
- store_test_results:
path: rest-test-results
front-end-tests:
Expand Down

0 comments on commit e7469e5

Please sign in to comment.