You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Assert observedGeneration is incremented in Status.Conditions. (#1586)
* Update helpers so they check conditions when they are up to date
Prior when asserting against conditions the helpers didn't check their
observedGeneration. This means the assertions could occur with a stale
status.
* When updating Gateway status conditions should increment their observedGeneration
* allow injection of controllerNames
* When updating GatewayClass the status conditions should increment their observedGeneration
* fix casing of t.Error/Fatal messages
* removed pasted link
* refactor some helpers to assert observedGeneration is bumped
* add HTTPRoute observed generation tests
* use a unique port when adding a new listener
* increase test timeout to a minute
* use real backends
* fail test is an unexpected parent ref appears
* Provide better error messages for failed assertions
* fix fixture name
* fix stale count logging
* create a deep copy prior to mutation and updating
* drop redundant assertions
*MustHaveLatestConditions will ensure the observedGeneration has changed
* address linting
* use assertion helper
* log only the parent ref name
* update godoc
* put the gateway class observed gen bump behind a support flag
Description: "A Gateway in the gateway-conformance-infra namespace should update the observedGeneration in all of it's Status.Conditions after an update to the spec",
Description: "A HTTPRoute in the gateway-conformance-infra namespace should update the observedGeneration in all of it's Status.Conditions after an update to the spec",
0 commit comments