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 8210055
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/e2e/network/netpol/probe.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,9 @@ type ProbeJobResults struct {
}

// ProbePodToPodConnectivity runs a series of probes in kube, and records the results in `testCase.Reachability`
<<<<<<< HEAD

This comment has been minimized.

Copy link
@aojea

aojea Jan 7, 2021

Member

Leftover

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 8210055

Please sign in to comment.