Merge pull request #95333 from jayunit100/node_port_udp_fast_test

Node port udp fast test
This commit is contained in:
Kubernetes Prow Robot
2020-10-13 18:19:54 -07:00
committed by GitHub
2 changed files with 13 additions and 0 deletions

View File

@@ -686,6 +686,9 @@ func (config *NetworkingTestConfig) setupCore(selector map[string]string) {
config.createTestPods()
epCount := len(config.EndpointPods)
// Note that this is not O(n^2) in practice, because epCount SHOULD be < 10. In cases that epCount is > 10, this would be prohibitively large.
// Check maxNetProxyPodsCount for details.
config.MaxTries = epCount*epCount + testTries
framework.Logf("Setting MaxTries for pod polling to %v for networking test based on endpoint count %v", config.MaxTries, epCount)
}