mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 01:06:27 +00:00
Fix namespace deletion log in e2e test framework.
This commit is contained in:
parent
868da1e08b
commit
78f929a433
@ -258,12 +258,11 @@ func (f *Framework) AfterEach() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if TestContext.DeleteNamespace {
|
if !TestContext.DeleteNamespace {
|
||||||
Logf("Found DeleteNamespace=false, skipping namespace deletion!")
|
Logf("Found DeleteNamespace=false, skipping namespace deletion!")
|
||||||
} else if TestContext.DeleteNamespaceOnFailure {
|
} else {
|
||||||
Logf("Found DeleteNamespaceOnFailure=false, skipping namespace deletion!")
|
Logf("Found DeleteNamespaceOnFailure=false and current test failed, skipping namespace deletion!")
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Paranoia-- prevent reuse!
|
// Paranoia-- prevent reuse!
|
||||||
|
Loading…
Reference in New Issue
Block a user