mirror of
https://github.com/optim-enterprises-bv/kubernetes.git
synced 2025-12-05 23:55:39 +00:00
After moving Permit() to the scheduling cycle test PermitPlugin should no longer wait inside Permit() for another pod to enter Permit() and become waiting pod. In the past this was a way to make test work regardless of order in which pods enter Permit(), but now only one Permit() can be executed at any given moment and waiting for another pod to enter Permit() inside Permit() leads to timeouts. In this change waitAndRejectPermit and waitAndAllowPermit flags make first pod to enter Permit() a waiting pod and second pod to enter Permit() either rejecting or allowing pod. Mentioned in #88469
53 KiB
53 KiB