Skip to content

Commit

Permalink
set numberOfWorkers for netpol suite to the ideal value (3) that is n…
Browse files Browse the repository at this point in the history
…on-disruptive
  • Loading branch information
jayunit100 committed Jan 7, 2021
1 parent e765ab2 commit ba0a870
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/network/netpol/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ type ProbeJobResults struct {

// ProbePodToPodConnectivity runs a series of probes in kube, and records the results in `testCase.Reachability`
func ProbePodToPodConnectivity(k8s *kubeManager, model *Model, testCase *TestCase) {
numberOfWorkers := 30
numberOfWorkers := 3 // See https://github.com/kubernetes/kubernetes/pull/97690
allPods := model.AllPods()
size := len(allPods) * len(allPods)
jobs := make(chan *ProbeJob, size)
Expand Down

0 comments on commit ba0a870

Please sign in to comment.