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

Update e2e tests for Ginkgo v2 #2486

Merged
merged 1 commit into from
Jul 21, 2022

Conversation

mboersma
Copy link
Contributor

@mboersma mboersma commented Jul 19, 2022

What type of PR is this?

/kind cleanup

What this PR does / why we need it:

Fixes CAPZ's misuse of Ginkgo container nodes and updates a ParallelNodes reference such that both will work when we move to Ginkgo v2.

Nesting a Context inside an It container node is a warning in Ginkgo v1 but an error in v2. We can fix this now for correctness, to simplify the transition to v2, and to prevent more copy-and-pasting of this mistake.

Which issue(s) this PR fixes:

Refs #2466

Special notes for your reviewer:

TODOs:

  • squashed commits
  • includes documentation
  • adds unit tests

Release note:

NONE

@k8s-ci-robot k8s-ci-robot added release-note-none Denotes a PR that doesn't merit a release note. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/M Denotes a PR that changes 30-99 lines, ignoring generated files. labels Jul 19, 2022
@mboersma mboersma mentioned this pull request Jul 19, 2022
3 tasks
@mboersma
Copy link
Contributor Author

/assign @CecileRobertMichon @Jont828

@CecileRobertMichon
Copy link
Contributor

Does this not need the CAPI version of these changes to merge first?

@mboersma
Copy link
Contributor Author

Does this not need the CAPI version of these changes to merge first?

No, these are just future-proofing changes that work with either v1 or v2 of Ginkgo. Also we are using Context wrong and that should be corrected.

@CecileRobertMichon
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 20, 2022
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: CecileRobertMichon

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 Jul 20, 2022
@k8s-ci-robot k8s-ci-robot merged commit ed2280a into kubernetes-sigs:main Jul 21, 2022
@k8s-ci-robot k8s-ci-robot added this to the v1.5 milestone Jul 21, 2022
@mboersma mboersma deleted the ginkgo-futureproofing branch July 21, 2022 00:34
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. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants