Skip to content
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

test: skip image polling test if running in a kind cluster #2445

Conversation

timflannagan
Copy link
Contributor

@timflannagan timflannagan commented Nov 12, 2021

Copy-paste of #2425 to help push that PR along now that it has a merge conflict and the work Dan had done improves the QoL when running the e2e suite locally


Signed-off-by: Daniel Sover dsover@redhat.com

Description of the change:
This change skips the image polling test when running with a kind cluster. Previously this test was skipped on upstream CI only (which is also kind), but not locally, which caused the test to fail when running locally on a kind cluster.

The reason for the failure seems to be the context for the kubectl port-forward command to work is not properly configured in the test. It's worth exploring potentially trying to getting the right context at test execution time and seeing if the test works correctly, as it does on minikube and openshift.

Motivation for the change:
Closes #2420

Reviewer Checklist

  • Implementation matches the proposed design, or proposal is updated to match implementation
  • Sufficient unit test coverage
  • Sufficient end-to-end test coverage
  • Docs updated or added to /doc
  • Commit messages sensible and descriptive

Signed-off-by: Daniel Sover <dsover@redhat.com>
@openshift-ci openshift-ci bot requested review from exdx and hasbro17 November 12, 2021 17:30
@timflannagan timflannagan linked an issue Nov 12, 2021 that may be closed by this pull request
@awgreene
Copy link
Member

Nice work!
/approve

@openshift-ci
Copy link

openshift-ci bot commented Nov 12, 2021

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: awgreene, timflannagan

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

@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Nov 12, 2021
@timflannagan
Copy link
Contributor Author

Nice work!

That credit goes to Dan entirely (I just helped out with the review 😆)

Copy link
Member

@estroz estroz left a comment

Choose a reason for hiding this comment

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

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Nov 12, 2021
@openshift-merge-robot openshift-merge-robot merged commit d36949b into operator-framework:master Nov 12, 2021
@timflannagan timflannagan deleted the update-kind-cluster-check branch November 12, 2021 21:07
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. lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

e2e-local "image update" in catalog_e2e_test.go fails
5 participants