mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
set test to use localhost
This commit is contained in:
parent
1c1d46e1ac
commit
1f03681d82
@ -41,7 +41,7 @@ func newMockServer(rg *mockRegistry, l net.Listener) error {
|
||||
}
|
||||
|
||||
func newConsulTestRegistry(r *mockRegistry) (*consulRegistry, func()) {
|
||||
l, err := net.Listen("tcp", ":0")
|
||||
l, err := net.Listen("tcp", "localhost:0")
|
||||
if err != nil {
|
||||
// blurgh?!!
|
||||
panic(err.Error())
|
||||
|
Loading…
Reference in New Issue
Block a user