-
Notifications
You must be signed in to change notification settings - Fork 460
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
Migrate to native ginkgo v2 #938
Migrate to native ginkgo v2 #938
Conversation
Two migrations needs to be done to avoid the following warnings: ``` You're using deprecated Ginkgo functionality: ============================================= Support for custom reporters has been removed in V2. Please read the documentation linked to below for Ginkgo's new behavior and for a migration path: Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#removed-custom-reporters Measure is deprecated and will be removed in Ginkgo V2. Please migrate to gomega/gmeasure. Learn more at: https://onsi.github.io/ginkgo/MIGRATING_TO_V2#removed-measure github.com/kubernetes-sigs/cri-tools/pkg/benchmark/pod_container.go:60 ``` Signed-off-by: Sascha Grunert <sgrunert@redhat.com>
876ba45
to
7cf65e1
Compare
@feiskyer PTAL |
How about getting this in before v1.25.0? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sorry, missed this PR
/lgtm
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: feiskyer, saschagrunert 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 |
Following the switch to Ginkgo v2 in kubernetes-sigs#938, running `critest` without the `-benchmark` flag will erroneously run some benchmark specs alongside the validation ones too. This patch ensures that all specs containing "benchmark" will be skipped unless the `-benchmark` flag is explicitly provided. Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
Following the switch to Ginkgo v2 in kubernetes-sigs#938, running `critest` without the `-benchmark` flag will erroneously run some benchmark specs alongside the validation ones too. This patch ensures that all specs containing "benchmark" will be skipped unless the `-benchmark` flag is explicitly provided. Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
Following the switch to Ginkgo v2 in kubernetes-sigs#938, running `critest` without the `-benchmark` flag will erroneously run some benchmark specs alongside the validation ones too. This patch ensures that all specs containing "benchmark" will be skipped unless the `-benchmark` flag is explicitly provided. Signed-off-by: Nashwan Azhari <nazhari@cloudbasesolutions.com>
What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Two migrations needs to be done to avoid the following warnings:
Which issue(s) this PR fixes:
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?