-
Notifications
You must be signed in to change notification settings - Fork 431
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
ginkgo version aligning #925
Comments
Is this something which has to be fixed in ginkgo?
There are also efforts of moving k/k to ginkgo v2: kubernetes/kubernetes#109111 |
In commit 53ad8bb[1], the ginkgo uses flags.StringVar for some flags, for instance, the --skip or --focus. But in the following release of ginkgo(>=v1.15.0[2]), the ginkgo starts to use string slice instead of the StringVar, which means we can't get the user's input by the flags.Value.String()[3]. The String() always returns empty value. Based on that, we should use ginkgo API to generate flags instead of manually handler in cri-test. Reference: [1]: https://github.com/kubernetes-sigs/cri-tools/blob/53ad8bb7f97e1b1d1c0c0634e43a3c2b8b07b718/vendor/github.com/onsi/ginkgo/config/config.go#L79 [2]: https://github.com/onsi/ginkgo/blob/v1.15.0/config/config.go#L84 [3]: https://github.com/onsi/ginkgo/blob/v1.15.0/config/config.go#L68-L71 fixes: kubernetes-sigs#925 Signed-off-by: Wei Fu <fuweid89@gmail.com>
missed this question @saschagrunert .. fu wei was taking a look, see pr ^ |
We, containerd, are having problems moving up to v1.24.0 and post v1.24.0 critest with both parallel on and a skip and/or focus applied.
History here: containerd/containerd#6894
Noting also that k/k is on a different version of ginkgo and ginkgo has the requirement of the installed version matching the library. This may cause some versioning issues when doing both critest and e2e buckets. Let's discuss.
Cheers, Mike
The text was updated successfully, but these errors were encountered: