image-automation-controller/controllers
Sunny 413e1e2f46 Update tests to be compatible with CR > v0.10.0
In controller-runtime v0.10.0, the client is updated to clean any stale
data in the target object when performing any operation. This results in
test failure for the code that constructs an object with both spec and
status, and creates the object and updates status it with the same
object. The fix is to set the status separately on the object before
updating it.

Refer: https://github.com/kubernetes-sigs/controller-runtime/pull/1640

Signed-off-by: Sunny <darkowlzz@protonmail.com>
2021-10-01 21:57:29 +05:30
..
testdata controllers/update_test.go: Update to use testenv 2021-09-28 18:28:36 +05:30
git_error_test.go Use libgit2 for clone, fetch, push 2021-06-02 15:00:36 +01:00
git_test.go Fail push if a ref update is rejected 2021-07-13 16:06:17 +01:00
imageupdateautomation_controller.go Use events and metrics helpers 2021-09-15 10:44:30 +01:00
suite_test.go controllers/update_test.go: Update to use testenv 2021-09-28 18:28:36 +05:30
update_test.go Update tests to be compatible with CR > v0.10.0 2021-10-01 21:57:29 +05:30