mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-27 21:47:07 +00:00
Debug what is hapening in large clusters
This commit is contained in:
parent
8e80b1e6d6
commit
eec946d20c
@ -223,9 +223,11 @@ func RunCleanupActions() {
|
|||||||
// and then the function that only runs on the first Ginkgo node.
|
// and then the function that only runs on the first Ginkgo node.
|
||||||
var _ = ginkgo.SynchronizedAfterSuite(func() {
|
var _ = ginkgo.SynchronizedAfterSuite(func() {
|
||||||
// Run on all Ginkgo nodes
|
// Run on all Ginkgo nodes
|
||||||
|
framework.Logf("Running AfterSuite actions on all node")
|
||||||
RunCleanupActions()
|
RunCleanupActions()
|
||||||
}, func() {
|
}, func() {
|
||||||
// Run only Ginkgo on node 1
|
// Run only Ginkgo on node 1
|
||||||
|
framework.Logf("Running AfterSuite actions on node 1")
|
||||||
if framework.TestContext.ReportDir != "" {
|
if framework.TestContext.ReportDir != "" {
|
||||||
framework.CoreDump(framework.TestContext.ReportDir)
|
framework.CoreDump(framework.TestContext.ReportDir)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user