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 58e0b5cb70
commit 9db74f5a0e
1 changed files with 2 additions and 0 deletions

View File

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