mirror of https://github.com/status-im/consul.git
test: Speedup Retry*Join tests
This commit is contained in:
parent
17be40a733
commit
37c180a920
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue