diff --git a/test/e2e/operator_groups_e2e_test.go b/test/e2e/operator_groups_e2e_test.go index a8739f58db..c848bcb808 100644 --- a/test/e2e/operator_groups_e2e_test.go +++ b/test/e2e/operator_groups_e2e_test.go @@ -2511,7 +2511,7 @@ func pollForNamespaceListCount(c operatorclient.ClientInterface, listOptions met if len(list.Items) == expectedLength { return true, nil } - return false, nil + return false, fmt.Errorf("expected %d resources, got %d", expectedLength, len(list.Items)) }).Should(BeTrue()) return }