Merge pull request #33866 from sjenning/fix-fed-flake
Automatic merge from submit-queue
wait for federation informer store to catch up before update
Fixes #33838 #33880
There is a flake in the federation-controller code where an update to a resource is done too quickly after the create. Because the resource is not yet in the federated informer store, when the reconcile<Resource>() is called, it can't find the resource and treats the change as a create rather than a update.
This causes a failure (actually a panic) in the test code, which expects an update event, not a create, in response to the resource modification.
@derekwaynecarr @apelisse @mwielgus
Showing
Please
register
or
sign in
to comment