Explicitly set advertise address in agent tests

Otherwise, the tests will fail when run on a machine with multiple
private addresses
pull/1698/head
Evan Gilman 9 years ago committed by James Phillips
parent a3240d28ba
commit 146f719a66

@ -80,6 +80,7 @@ func TestRetryJoin(t *testing.T) {
"-server",
"-data-dir", tmpDir,
"-node", fmt.Sprintf(`"%s"`, conf2.NodeName),
"-advertise", agent.config.BindAddr,
"-retry-join", serfAddr,
"-retry-interval", "1s",
"-retry-join-wan", serfWanAddr,

Loading…
Cancel
Save