diff --git a/test/e2e/framework/util.go b/test/e2e/framework/util.go index cd8827c8f23..464d25ba25d 100644 --- a/test/e2e/framework/util.go +++ b/test/e2e/framework/util.go @@ -1518,6 +1518,7 @@ func AddOrUpdateAvoidPodOnNode(c clientset.Interface, nodeName string, avoidPods ExpectNoError(err) } else { Logf("Conflict when trying to add/update avoidPods %v to %v with error %v", avoidPods, nodeName, err) + return false, nil } } return true, nil @@ -1546,6 +1547,7 @@ func RemoveAvoidPodsOffNode(c clientset.Interface, nodeName string) { ExpectNoError(err) } else { Logf("Conflict when trying to remove avoidPods to %v", nodeName) + return false, nil } } return true, nil