-
Notifications
You must be signed in to change notification settings - Fork 18k
x/vgo: tests unexpectedly prompt for GitHub username and password #25742
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
Comments
|
|
|
Here's the
It seems to be hanging in the I see a call to |
github.com/rsc/vgotest1 is now public. |
I tried removing
|
Looks like most of the remaining failures are a subset of #25501. |
Change https://golang.org/cl/116835 mentions this issue: |
https://go-review.googlesource.com/116757 should take care of the git prompts. |
The webtest hook no longer has any effect on these tests as of CL 107657. That means the modfetch test is no longer hermetic (it actually talks to GitHub), but a non-hermetic test is better than no test. Keep webtest for future use: modfetch still uses web2 in a couple of places. There are still a few failing tests in modfetch_test. Those will be fixed in a later change. Updates golang/go#25742. Change-Id: Ib50838885fe9dc462ee9b03fcd9e29c1782e8dd6 Reviewed-on: https://go-review.googlesource.com/116835 Reviewed-by: Russ Cox <rsc@golang.org>
When I try to run the tests for
vgo
, I get username and password prompts.If this is a configuration issue with my tools or environment, the tests should instead fail with a helpful error message so that I can run some command that more obviously indicates what it intends to do with the credentials.
Otherwise, the tests should not prompt for credentials at all.
The text was updated successfully, but these errors were encountered: