diff --git a/command/agent/command_test.go b/command/agent/command_test.go index 9f9317e7bd..bfa68ffad9 100644 --- a/command/agent/command_test.go +++ b/command/agent/command_test.go @@ -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,