mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-29 22:46:12 +00:00
Add GC e2e debug logging
This commit is contained in:
parent
cad44602e1
commit
215b875dbf
@ -17,6 +17,7 @@ limitations under the License.
|
|||||||
package apimachinery
|
package apimachinery
|
||||||
|
|
||||||
import (
|
import (
|
||||||
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
"sync/atomic"
|
"sync/atomic"
|
||||||
"time"
|
"time"
|
||||||
@ -872,7 +873,8 @@ var _ = SIGDescribe("Garbage collector", func() {
|
|||||||
}
|
}
|
||||||
return false, nil
|
return false, nil
|
||||||
}); err != nil {
|
}); err != nil {
|
||||||
framework.Logf("pods are %#v", pods.Items)
|
data, _ := json.Marshal(pods.Items)
|
||||||
|
framework.Logf("pods are %s", string(data))
|
||||||
framework.Failf("failed to wait for all pods to be deleted: %v", err)
|
framework.Failf("failed to wait for all pods to be deleted: %v", err)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user