diff --git a/cluster/cluster_test.go b/cluster/cluster_test.go index 768608758c..53db6d0895 100644 --- a/cluster/cluster_test.go +++ b/cluster/cluster_test.go @@ -335,6 +335,8 @@ func testTLSConnection(t *testing.T) { require.NoError(t, err) go p2.Settle(context.Background(), 0*time.Second) p2.WaitReady(context.Background()) + require.Equal(t, "ready", p2.Status()) + require.Equal(t, 2, p1.ClusterSize()) p2.Leave(0 * time.Second) require.Equal(t, 1, p1.ClusterSize())