diff --git a/test/conformance/tests/test_networkpool.go b/test/conformance/tests/test_networkpool.go index 8e6cc2775..05a8843d2 100644 --- a/test/conformance/tests/test_networkpool.go +++ b/test/conformance/tests/test_networkpool.go @@ -110,8 +110,11 @@ var _ = Describe("[sriov] NetworkPool", Ordered, func() { Expect(strings.HasPrefix(output, "1")).To(BeTrue()) By("removing rdma mode configuration") - err = clients.Delete(context.Background(), networkPool) - Expect(err).ToNot(HaveOccurred()) + Eventually(func(g Gomega) { + err = clients.Delete(context.Background(), networkPool) + g.Expect(err).ToNot(HaveOccurred()) + }, 5*time.Minute, 5*time.Second).Should(Succeed()) + WaitForSRIOVStable() err = clients.Get(context.Background(), client.ObjectKey{Name: testNode, Namespace: operatorNamespace}, nodeState)