Increase the timeout for waiting for func test namespace to disappear
Some test cases cause pods to be delayed during termination. It can take
some time for this to settle down after the test finishes executing.
@@ -1636,7 +1636,7 @@ func removeNamespaces() {
fmt.Println("")
for _, namespace := range testNamespaces {
fmt.Printf("Waiting for namespace %s to be removed, this can take a while ...\n", namespace)
- EventuallyWithOffset(1, func() bool { return errors.IsNotFound(virtCli.CoreV1().Namespaces().Delete(namespace, nil)) }, 180*time.Second, 1*time.Second).
+ EventuallyWithOffset(1, func() bool { return errors.IsNotFound(virtCli.CoreV1().Namespaces().Delete(namespace, nil)) }, 240*time.Second, 1*time.Second).
Should(BeTrue())
}
}
