Hey all, I’m running into an issue in which my test step in my pipeline is running indefinitely until timeout regardless of termination of the step. If tests pass, the step should succeed and move on, but that doesn’t happen and it just hangs once things are done.
Here’s my gitlab-ci file:
include:
- project: 'foo/definition'
file: 'build.yml'
stages:
- build
- test
build:
extends: .build_image
test:
stage: test
variables:
image: '${CI_REGISTRY_IMAGE}:${CI_COMMIT_SHA}'
script:
- cd /code
- yarn run test --tag wip
- exit 0
The test step is running tests within Nightwatch, an end-to-end testing framework. I’ve even included exit 0 at the end of the script section, but that doesn’t work.
Anyone have ideas of why this is happening and how to solve it?