Skip to content

Commit

Permalink
Testing for failure testcase
Browse files Browse the repository at this point in the history
Temporarily changing entrypoint to use custom test-exit-code script that tests two scenarios: workflow failure and workflow success.
I will test each scenario in a separate workflow run.

For failure test case, workflow should fail current job immediately and not proceed to subsequent jobs.
  • Loading branch information
Mahadik, Mukul Chandrakant authored and Mahadik, Mukul Chandrakant committed Jul 3, 2024
1 parent 1b0e1f2 commit 7623345
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docker-compose.automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ services:
- MQTT_SERVER_ADDRESS=mqtt-server
working_dir: /ext/source/tests
# entrypoint: "sh ./run-test.sh"
entrypoint: "sh ./test-exit-code.sh success"
entrypoint: "sh ./test-exit-code.sh failure"
sysctls:
- net.ipv6.conf.all.disable_ipv6=0

0 comments on commit 7623345

Please sign in to comment.