Closed snorwin closed 4 months ago
@snorwin the framework tries to continue in case there are shutdown/finish logic to execute for a graceful shutdown. However, you can specify --fail-fast flag to force failures immediately https://github.com/kubernetes-sigs/e2e-framework/tree/main/examples/fail_fast.
@vladimirvivien The --fail-fast
option doesn't change this behavior. I agree graceful shutdown is needed, but running tests after a setup failure doesn't make sense.
What happened?
The test suite is executed regardless of whether the setup actions were successful or not.
What did you expect to happen?
Tests should only be executed if all setup actions were successfully executed.
How can we reproduce it (as minimally and precisely as possible)?
It can be reproduced by adding a failing setup action to the test environment, e.g.:
Anything elese we need to know?
No response
E2E Provider Used
kind
e2e-framework
Versionv0.4.0
OS version
No response