Skip to content

retry failed calls when waiting for namespace ready #3627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 25, 2025

Conversation

aojea
Copy link
Contributor

@aojea aojea commented Feb 23, 2025

The test helper NamespacesMustBeReady must retry if fails to list the existing gateways or pods, otherwise it may declare that the namespaces are ready without actually checking them.

/kind bug
/kind test
/kind flake
/area conformance

NONE

/assign @robscott

The test helper NamespacesMustBeReady must retry if fails to list the
existing gateways or pods, otherwise it may declare that the namespaces
are ready without actually checking them.

Change-Id: I358008a9e656735d660719f4fad8dbf38f60fd83
@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/bug Categorizes issue or PR as related to a bug. kind/test kind/flake Categorizes issue or PR as related to a flaky test. area/conformance-test Issues or PRs related to Conformance tests. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Feb 23, 2025
@k8s-ci-robot k8s-ci-robot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Feb 23, 2025
@youngnick
Copy link
Contributor

Mattia is the conformance lead, so assigning him instead.

@robscott
Copy link
Member

Thanks for fixing this!

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 24, 2025
@robscott
Copy link
Member

I think @youngnick meant to assign @mlavacca above.

/assign @mlavacca

@aojea
Copy link
Contributor Author

aojea commented Feb 25, 2025

/retry

Copy link
Member

@mlavacca mlavacca left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing this, @aojea!

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: aojea, mlavacca

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 25, 2025
@k8s-ci-robot k8s-ci-robot merged commit cbde2d2 into kubernetes-sigs:main Feb 25, 2025
13 checks passed
EyalPazz pushed a commit to EyalPazz/gateway-api that referenced this pull request Feb 27, 2025
…3627)

The test helper NamespacesMustBeReady must retry if fails to list the
existing gateways or pods, otherwise it may declare that the namespaces
are ready without actually checking them.

Change-Id: I358008a9e656735d660719f4fad8dbf38f60fd83
EyalPazz pushed a commit to EyalPazz/gateway-api that referenced this pull request Feb 27, 2025
…3627)

The test helper NamespacesMustBeReady must retry if fails to list the
existing gateways or pods, otherwise it may declare that the namespaces
are ready without actually checking them.

Change-Id: I358008a9e656735d660719f4fad8dbf38f60fd83
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. area/conformance-test Issues or PRs related to Conformance tests. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. kind/flake Categorizes issue or PR as related to a flaky test. kind/test lgtm "Looks good to me", indicates that a PR is ready to be merged. release-note-none Denotes a PR that doesn't merit a release note. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants