Skip to content

Commit a3c3ade

Browse files
committed
resourceslicecontroller: add debug logs
Signed-off-by: Damien Grisonnet <[email protected]>
1 parent 76cb1db commit a3c3ade

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

test/e2e/dra/dra.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import (
2020
"context"
2121
_ "embed"
2222
"errors"
23+
"flag"
2324
"fmt"
2425
"strings"
2526
"sync"
@@ -64,6 +65,11 @@ const (
6465
podStartTimeout = 5 * time.Minute
6566
)
6667

68+
func init() {
69+
flag.Set("v", "5")
70+
klog.SetOutput(ginkgo.GinkgoWriter)
71+
}
72+
6773
// The "DRA" label is used to select tests related to DRA in a Ginkgo label filter.
6874
//
6975
// Sub-tests starting with "control plane" when testing only the control plane components, without depending
@@ -2181,6 +2187,8 @@ var _ = framework.SIGDescribe("node")(framework.WithLabel("DRA"), func() {
21812187
gomega.Eventually(ctx, controller.GetStats).WithTimeout(30 * time.Second).Should(gomega.Equal(expectStats))
21822188

21832189
gomega.Consistently(ctx, controller.GetStats).WithTimeout(2 * mutationCacheTTL).Should(gomega.Equal(expectStats))
2190+
2191+
ginkgo.Fail("test failed")
21842192
})
21852193
})
21862194

0 commit comments

Comments
 (0)