Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
apiserver: listen on localhost in tests #6438
+3
−1
Conversation
|
$$merge$$ |
|
IANAGR, but LGTM :-) |
|
Status: merge request accepted. Url: http://juju-ci.vapour.ws:8080/job/github-merge-juju |
jujubot
merged commit b20a0ff
into
juju:master
Oct 12, 2016
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
rogpeppe commentedOct 12, 2016
The old newServer code listened on ":0" not localhost,
but that wasn't a problem because nothing relied
on dialing the address taken from the listener.
When the two server-starting pieces of code were consolidated
into one, we didn't change the code to listen on "localhost:0"
instead of ":0", which causes the tests to fail on Windows
where dialing 0.0.0.0 doesn't count as dialing localhost.
Fixes https://bugs.launchpad.net/juju/+bug/1466011.