-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Odd test failure in otel-collector #2239
Comments
I wasn't able to reproduce it locally. The expected and actual strings almost match except the double quotes for the URL. I am not sure why it happened.
|
I can reproduce. Which Go are you using? I have
|
in any case, I prefer to avoid tests that check for the exact full error string, and instead only check for certain key phrases using |
With |
This is a change in go 1.14 golang/go#37614 and https://golang.org/doc/go1.14#net/url. It's not well described as it says that the URL is quoted when it cannot be parsed, but it's quoted then the request fails. |
cc @pavolloffay
The text was updated successfully, but these errors were encountered: