kubernetes/pkg/scheduler/internal/queue
Patrick Ohly c131c92b9f scheduler: unit test case for concurrent event with other pod
The problematic scenario was having one pod in flight, one event in the list,
and then detecting a concurrent event for a second pod after the first pod is
done. The new test case covers that.

To make it work without assumptions about the implementation, the QueuedPodInfo
returned by Pop must be the one passed to AddUnschedulableIfNotPresent
after (potentially) populating UnschedulablePlugins. This is done via callback
functions which bind to the same shared variable.
2023-09-05 21:01:13 +02:00
..
events.go scheduler: cleanup the unused event types about Service 2022-10-03 16:30:38 +08:00
scheduling_queue_test.go scheduler: unit test case for concurrent event with other pod 2023-09-05 21:01:13 +02:00
scheduling_queue.go scheduler: fix tracking of concurrent events 2023-09-05 19:58:38 +02:00
testing.go reuse InformerFactory in scheduler tests (#107835) 2022-02-09 16:53:58 -08:00