dump information for all namespaces related to the test

This commit is contained in:
David Eads 2019-12-11 16:00:57 -05:00
parent ea913f38ea
commit d0210220e4

View File

@ -162,7 +162,9 @@ func NewFramework(baseName string, options Options, client clientset.Interface)
return
}
if !f.SkipNamespaceCreation {
DumpAllNamespaceInfo(f.ClientSet, f.Namespace.Name)
for _, ns := range f.namespacesToDelete {
DumpAllNamespaceInfo(f.ClientSet, ns.Name)
}
}
})