Explicitly set advertise address in agent tests
Otherwise, the tests will fail when run on a machine with multiple private addresses
This commit is contained in:
parent
d18dc81749
commit
28ce1b079f
|
@ -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…
Reference in New Issue