From f740fbd125b771443b9768564081d5f0cde701ab Mon Sep 17 00:00:00 2001 From: Tom Dohrmann Date: Mon, 22 Jul 2024 14:49:20 +0200 Subject: [PATCH] openssl_test: wait for coordinator after restarting --- e2e/openssl/openssl_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/e2e/openssl/openssl_test.go b/e2e/openssl/openssl_test.go index ccb42d2689..1dbb48372c 100644 --- a/e2e/openssl/openssl_test.go +++ b/e2e/openssl/openssl_test.go @@ -194,6 +194,7 @@ func TestOpenSSL(t *testing.T) { c := kubeclient.NewForTest(t) require.NoError(c.Restart(ctx, kubeclient.StatefulSet{}, ct.Namespace, "coordinator")) + require.NoError(c.WaitFor(ctx, kubeclient.StatefulSet{}, ct.Namespace, "coordinator")) require.ErrorContains(ct.RunVerify(), "recovery")