mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
don't run loadbalancer tests on large environments
Change-Id: Id987e9469e563c0837c6437a44a65889cec2e202
This commit is contained in:
parent
4303743736
commit
244d7449ce
@ -1741,6 +1741,9 @@ func testRollingUpdateLBConnectivityDisruption(ctx context.Context, f *framework
|
||||
|
||||
nodeNames := e2edaemonset.SchedulableNodes(ctx, cs, ds)
|
||||
e2eskipper.SkipUnlessAtLeast(len(nodeNames), 2, "load-balancer rolling update test requires at least 2 schedulable nodes for the DaemonSet")
|
||||
if len(nodeNames) > 25 {
|
||||
e2eskipper.Skipf("load-balancer rolling update test skipped for large environments with more than 25 nodes")
|
||||
}
|
||||
|
||||
ginkgo.By(fmt.Sprintf("Creating DaemonSet %q", name))
|
||||
ds, err := cs.AppsV1().DaemonSets(ns).Create(context.TODO(), ds, metav1.CreateOptions{})
|
||||
|
Loading…
Reference in New Issue
Block a user