Skip to content

Commit

Permalink
Server upgrade tests: Do not fail it no tests were collected (#4071)
Browse files Browse the repository at this point in the history
Co-authored-by: Nizar Malangadan <nizar-m@users.noreply.github.com>
Co-authored-by: Vamshi Surabhi <0x777@users.noreply.github.com>
  • Loading branch information
3 people authored Mar 10, 2020
1 parent 1436f31 commit db724f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/server-upgrade/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ run_server_upgrade_pytest() {
[ -n "$1" ] || ( echo "Got no test as input" && false )

local tests_to_run="$(collect_common_tests $1)"
[ -n "$tests_to_run" ] || ( echo "could not collect any tests for $1" && false )
[ -z "$tests_to_run" ] && log "could not collect any tests for $1" && return

log "Removing schemas with hasura metadata"
# This is required since we do not have a dowgrade command, yet.
Expand Down

0 comments on commit db724f7

Please sign in to comment.