Bug: E2E test execution continues even when the docker build fail due to test fails #728
Labels
- Developer -
Torrust Improvement Experience
Bug
Incorrect Behavior
Continuous Integration
Workflows and Automation
You can run E2E tests (with Sqlite) locally with:
The script:
The Containerfile contains a layer to run the unit tests:
If some tests fail, the build fails, but the E2E script (
run-e2e-tests.sh
) continues executing the next steps.The output when the test fail:
You can reproduce it by simply adding a failing test.
I guess we can fixed but returning an error code in the
contrib/dev-tools/container/e2e/sqlite/mode/public/e2e-env-up.sh
script.NOTICE: the
|| exit 1
I haven't tested it yet.
The text was updated successfully, but these errors were encountered: