mirror of
https://github.com/status-im/consul.git
synced 2025-02-23 02:48:19 +00:00
rpc: make TestServer_JoinSeparateLanAndWanAddresses more robust
This commit is contained in:
parent
ffd45f5da5
commit
112bc19cd5
@ -316,10 +316,10 @@ func TestServer_JoinSeparateLanAndWanAddresses(t *testing.T) {
|
||||
// Join s3 to s2 on lan
|
||||
joinLAN(t, s3, s2)
|
||||
retry.Run(t, func(r *retry.R) {
|
||||
if got, want := len(s1.WANMembers()), 2; got != want {
|
||||
if got, want := len(s1.WANMembers()), 3; got != want {
|
||||
r.Fatalf("got %d s1 WAN members want %d", got, want)
|
||||
}
|
||||
if got, want := len(s2.WANMembers()), 2; got != want {
|
||||
if got, want := len(s2.WANMembers()), 3; got != want {
|
||||
r.Fatalf("got %d s2 WAN members want %d", got, want)
|
||||
}
|
||||
if got, want := len(s2.LANMembers()), 2; got != want {
|
||||
|
Loading…
x
Reference in New Issue
Block a user