Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test/integration: Fix cleanups when the test fails
The script runs with `set -e`. Thus, if the actual test fails, the cleanups are not run. This wouldn't be normally an issue, because we run in an ephemeral environment, but one of the scripts (run-openid.sh) runs a command in background. This is unfortunately a nemesis of our CI setup: GitLab keeps running any jobs until their timeout if they have a hanging process in the background. By ensuring that the cleanup scripts are run properly, the process should get killed, and the job will be able to fail gracefully.
- Loading branch information