Wait for pod deletion instead of termination

This commit is contained in:
Michelle Au
2018-05-16 11:50:15 -07:00
parent 7e75a09db6
commit 46b62c20e4
3 changed files with 6 additions and 8 deletions

View File

@@ -116,6 +116,9 @@ const (
// minutes by slow docker pulls or something else.
PodStartShortTimeout = 1 * time.Minute
// How long to wait for a pod to be deleted
PodDeleteTimeout = 5 * time.Minute
// If there are any orphaned namespaces to clean up, this test is running
// on a long lived cluster. A long wait here is preferably to spurious test
// failures caused by leaked resources from a previous test run.