Fix scalability concerns in test runs
This commit is contained in:
@@ -118,9 +118,7 @@ var _ = common.SIGDescribe("[Feature:IPv6DualStack]", func() {
|
|||||||
|
|
||||||
// get all schedulable nodes to determine the number of replicas for pods
|
// get all schedulable nodes to determine the number of replicas for pods
|
||||||
// this is to ensure connectivity from all nodes on cluster
|
// this is to ensure connectivity from all nodes on cluster
|
||||||
// FIXME: tests may be run in large clusters. This test is O(n^2) in the
|
nodeList, err := e2enode.GetBoundedReadySchedulableNodes(ctx, cs, 3)
|
||||||
// number of nodes used. It should use GetBoundedReadySchedulableNodes().
|
|
||||||
nodeList, err := e2enode.GetReadySchedulableNodes(ctx, cs)
|
|
||||||
framework.ExpectNoError(err)
|
framework.ExpectNoError(err)
|
||||||
|
|
||||||
replicas := int32(len(nodeList.Items))
|
replicas := int32(len(nodeList.Items))
|
||||||
|
Reference in New Issue
Block a user