mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-24 12:15:52 +00:00
Merge pull request #115697 from aojea/lbds
don't run loadbalancer tests on large environments
This commit is contained in:
commit
4933005b38
@ -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