MCPcopy
hub / github.com/kubernetes/client-go / waitForWaitingQueueToFill

Function waitForWaitingQueueToFill

util/workqueue/delaying_queue_test.go:247–255  ·  view source on GitHub ↗
(q DelayingInterface)

Source from the content-addressed store, hash-verified

245}
246
247func waitForWaitingQueueToFill(q DelayingInterface) error {
248 return wait.Poll(1*time.Millisecond, 10*time.Second, func() (done bool, err error) {
249 if len(q.(*delayingType).waitingForAddCh) == 0 {
250 return true, nil
251 }
252
253 return false, nil
254 })
255}

Callers 4

TestSimpleQueueFunction · 0.85
TestDedupingFunction · 0.85
TestAddTwoFireEarlyFunction · 0.85
TestCopyShiftingFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected