-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Fix build error in examples/go-client #3547
Conversation
Can one of the admins verify this patch? |
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.
LGTM from a first look. It'd be good to port this logic to the other Teleport Makefiles as well, as I know many of them have the same hardcoded paths to tests.
ok to test |
I couldn't find other Makefiles in the same repo with hardcoded paths for |
Looks like unit tests pass but integration test fails. Seems to be unrelated to my changes, but please correct me if not. |
The API of auth package changed in an incompatible way. Fix the usage.
Selectively listing package paths is error-prone. Use `go list` to get the complete list instead. Filter out integration tests since they are slower. Also, enable the race detector by default. Local `make test` runs should not skip it.
@gravitational-jenkins retest this please |
1 similar comment
@gravitational-jenkins retest this please |
The API of auth package changed in an incompatible way. Fix the usage.
Also, change the definition of
make test
to prevent this from happening.Use
go list
to get the list of all packages instead of listing them manually.Also, use the race detector with
go test
as a second pass, since it's not enabled by default.