mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-01-05 23:47:50 +00:00
Add an option to modify timeout for namespace duration in e2e Framework
This commit is contained in:
@@ -81,7 +81,7 @@ var _ = Describe("Kubectl client", func() {
|
||||
|
||||
AfterEach(func() {
|
||||
By(fmt.Sprintf("Destroying namespace for this suite %v", ns))
|
||||
if err := deleteNS(c, ns); err != nil {
|
||||
if err := deleteNS(c, ns, 5*time.Minute /* namespace deletion timeout */); err != nil {
|
||||
Failf("Couldn't delete ns %s", err)
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user