Skip to content

Commit

Permalink
Increase waiting time
Browse files Browse the repository at this point in the history
  • Loading branch information
gotoxu committed May 7, 2019
1 parent 63f4291 commit e08dc36
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion discovery/discovery_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ func TestMembership(t *testing.T) {
go disc9.Connect(common.NetworkMember{Endpoint: "localhost:4053"}, func() (common.PKIidType, error) { return rpc1.GetPKIid(), nil })
go disc10.Connect(common.NetworkMember{Endpoint: "localhost:4053"}, func() (common.PKIidType, error) { return rpc1.GetPKIid(), nil })

time.Sleep(15 * time.Second)
time.Sleep(20 * time.Second)
assert.Len(t, disc1.GetMembership(), 9)
assert.Len(t, disc2.GetMembership(), 9)
assert.Len(t, disc3.GetMembership(), 9)
Expand Down

0 comments on commit e08dc36

Please sign in to comment.