Fix main tests (#2670)
Signed-off-by: Julien Pivotto <roidelapluie@inuits.eu>
This commit is contained in:
parent
3962da4073
commit
3a9808c3f7
|
@ -92,7 +92,7 @@ func testJoinLeave(t *testing.T) {
|
|||
)
|
||||
require.NoError(t, err)
|
||||
go p2.Settle(context.Background(), 0*time.Second)
|
||||
p2.WaitReady()
|
||||
require.NoError(t, p2.WaitReady(context.Background()))
|
||||
|
||||
require.Equal(t, 2, p.ClusterSize())
|
||||
p2.Leave(0 * time.Second)
|
||||
|
|
Loading…
Reference in New Issue