From 3a9808c3f71edd38c147661dbc58505e86a65dad Mon Sep 17 00:00:00 2001 From: Julien Pivotto Date: Wed, 4 Aug 2021 16:13:51 +0200 Subject: [PATCH] Fix main tests (#2670) Signed-off-by: Julien Pivotto --- cluster/cluster_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cluster/cluster_test.go b/cluster/cluster_test.go index 9b8c2a17..f9413fac 100644 --- a/cluster/cluster_test.go +++ b/cluster/cluster_test.go @@ -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)