From dcafca314130dd685e89b2b0deb7c120e7b6ae1e Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Wed, 15 Mar 2017 22:41:24 -0500 Subject: [PATCH] bind to localhost:0 in tests to avoid binding to the same port --- cmd/server_test.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cmd/server_test.go b/cmd/server_test.go index c73fbf7c6..4759065b1 100644 --- a/cmd/server_test.go +++ b/cmd/server_test.go @@ -54,6 +54,7 @@ bind = "localhost:0" args: []string{"server", "--anti-entropy.interval", "9m0s"}, env: map[string]string{"PILOSA_CLUSTER.HOSTS": "example.com:1110,example.com:1111"}, cfgFileContent: ` +bind = "localhost:0" [cluster] hosts = [ "localhost:19444", @@ -74,6 +75,7 @@ bind = "localhost:0" args: []string{"server"}, env: map[string]string{"PILOSA_PROFILE.CPU_TIME": "1m"}, cfgFileContent: ` +bind = "localhost:0" [cluster] poll-interval = "2m0s" hosts = [