mirror of https://github.com/k3s-io/k3s
Merge pull request #32015 from smarterclayton/add_more_debugging
Automatic merge from submit-queue Print out some extra details from the namespace deletion error Adds debugging for #32009. Only adds test code.pull/6/head
commit
4968f1006e
|
@ -333,7 +333,7 @@ func (f *Framework) AfterEach() {
|
|||
if len(nsDeletionErrors) != 0 {
|
||||
messages := []string{}
|
||||
for namespaceKey, namespaceErr := range nsDeletionErrors {
|
||||
messages = append(messages, fmt.Sprintf("Couldn't delete ns: %q: %s", namespaceKey, namespaceErr))
|
||||
messages = append(messages, fmt.Sprintf("Couldn't delete ns: %q: %s (%#v)", namespaceKey, namespaceErr, namespaceErr))
|
||||
}
|
||||
Failf(strings.Join(messages, ","))
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue