Closed sfackler closed 7 months ago
Tests are going to flake here due to the s390x removal until #286 lands and I rebase on top of it.
Best way to test would probably be to just find one of the existing tests that waits for the job to complete, and check that the status condition is true when it is done. And check the opposite for a job that is failed.
I just merged that other PR, you should be able to rebase.
Ah good call - updated one of the job generation tests.
Thanks! Any idea when the next release'll be cut?
Just did.
It doesn't feel great to be updating the condition in the generating handler instead of the status handler, but this ensures the condition is in sync with the actual state of the plan.
I poked around a bit in the ETE test infrastructure but wasn't totally sure how to add a test for this.
Closes rancher/system-upgrade-controller#291