Skip to content

Conformance: GatewayClassObservedGenerationBump asserts bumped observed generation on status conditions without eventual check #4336

@pmalek

Description

@pmalek

Problem statement

GatewayClassObservedGenerationBump checks that all the status conditions on GatewayClass has their ObservedGeneration bumped in

kubernetes.GatewayClassMustHaveLatestConditions(t, original)

This is done once and hence can fail if the controller is yet to reconcile the GatewayClass.

Proposed solution

Use something like require.Eventually() which will allow a (short) period of time for the controller to perform the status update.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions