Skip to content

Commit

Permalink
Add the comment
Browse files Browse the repository at this point in the history
Signed-off-by: utam0k <[email protected]>
  • Loading branch information
utam0k committed Sep 5, 2024
1 parent 034e2fb commit 23467f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/integration/clusterthrottle_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ var _ = Describe("Clusterthrottle Test", func() {
})
Expect(err).NotTo(HaveOccurred())

// Make all the Pods once to prevent them from reaching PreFilter one by one before all the Pods in the PodGroup are created.
for i := 0; i < 3; i++ {
pod := MakePod(DefaultNs, fmt.Sprintf("throttled-pod%d", i), "100m").Annotation(groupNameAnnotation, "throttled").Label(throttleKey, throttleName).Obj()
pod.Spec.SchedulingGates = []corev1.PodSchedulingGate{{Name: "group"}}
Expand Down

0 comments on commit 23467f7

Please sign in to comment.