-
Notifications
You must be signed in to change notification settings - Fork 261
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
Tests don't pass #23
Comments
I've just hit this issue as well in my own project. The generated clientset code's tests appear to have malformed parameters lists:
I've tried deleting and regenerated the respective files without success. Using k8s.io/code-generator (from dep's Gopkg.toml)
|
Found a solution here: kubernetes-retired/cluster-registry#271 I fixed this in my project by updating my deps to 1.13.1 and regenerating the clientset:
|
@cdrage : I think the tests are passing now
|
@cdrage The steps to fix are a bit messy. Describing exactly what I did won't be very useful as it was specific to my dependencies' versions. The end goal with k8s dependencies was to get them all on the same version. The version mismatch between code-generation, schema packages, client-go, and apimachinery meant that older versions of generated code caused more recently versioned consumers of that code to fail. Specifically, k8s 1.13 packages couldn't use older generated client code. So I had to update all my k8s package versions in the Gopkg.toml, run |
cc @frobware |
* add functions in `library.sh` to install the latest Knative Serving and Knative Build; * fix getting the canonical path to the end-to-end test script in `e2e-tests.sh`; * fix call to `dump_cluster_state` on failure in `e2e-tests.sh`;
I'm not too sure what I'm doing wrong, I'm using go
1.11.5
and this is on master:and using the other command
go test ./...
The text was updated successfully, but these errors were encountered: