mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-03 17:30:00 +00:00
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.
This commit is contained in:
commit
4968f1006e
@ -333,7 +333,7 @@ func (f *Framework) AfterEach() {
|
|||||||
if len(nsDeletionErrors) != 0 {
|
if len(nsDeletionErrors) != 0 {
|
||||||
messages := []string{}
|
messages := []string{}
|
||||||
for namespaceKey, namespaceErr := range nsDeletionErrors {
|
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, ","))
|
Failf(strings.Join(messages, ","))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user