test: Speedup Retry*Join tests

This commit is contained in:
Frank Schroeder 2017-04-26 17:42:04 -07:00 committed by Frank Schröder
parent 17be40a733
commit 37c180a920
1 changed files with 2 additions and 0 deletions

View File

@ -277,6 +277,7 @@ func TestRetryJoinFail(t *testing.T) {
"-data-dir", tmpDir, "-data-dir", tmpDir,
"-retry-join", serfAddr, "-retry-join", serfAddr,
"-retry-max", "1", "-retry-max", "1",
"-retry-interval", "10ms",
} }
if code := cmd.Run(args); code == 0 { if code := cmd.Run(args); code == 0 {
@ -308,6 +309,7 @@ func TestRetryJoinWanFail(t *testing.T) {
"-data-dir", tmpDir, "-data-dir", tmpDir,
"-retry-join-wan", serfAddr, "-retry-join-wan", serfAddr,
"-retry-max-wan", "1", "-retry-max-wan", "1",
"-retry-interval-wan", "10ms",
} }
if code := cmd.Run(args); code == 0 { if code := cmd.Run(args); code == 0 {