diff --git a/test/e2e/cache/cache_test.go b/test/e2e/cache/cache_test.go index 45ab818ba..2ce0ce439 100644 --- a/test/e2e/cache/cache_test.go +++ b/test/e2e/cache/cache_test.go @@ -508,7 +508,6 @@ func TestConfigListenerFailover(t *testing.T) { } func TestCacheResourcesCleanedUpOnDisable(t *testing.T) { - t.Parallel() defer testKube.CleanNamespaceAndLogOnPanic(t, tutils.Namespace) ispn := initCluster(t, true) @@ -544,6 +543,7 @@ func TestCacheResourcesCleanedUpOnDisable(t *testing.T) { cr.Spec.Template = cacheConfig tutils.ExpectNoError(controllerutil.SetControllerReference(ispn, cr, testKube.Kubernetes.Client.Scheme())) testKube.Create(cr) + testKube.WaitForCacheConditionReady(cacheName, ispn.Name, tutils.Namespace) // Delete the cache on the server so the CR becomes stale cacheHelper.Delete()