diff --git a/test/integration/scep/common_test.go b/test/integration/scep/common_test.go index 86f64c3d..f6821555 100644 --- a/test/integration/scep/common_test.go +++ b/test/integration/scep/common_test.go @@ -39,6 +39,9 @@ func newCAClient(t *testing.T, caURL, rootFilepath string) *ca.Client { } func requireHealthyCA(t *testing.T, caClient *ca.Client) { + // Wait for CA + time.Sleep(time.Second) + ctx := context.Background() healthResponse, err := caClient.HealthWithContext(ctx) require.NoError(t, err)