- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Test_waitForWithEarlyClosing_waitFunc (0.2 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go
if invocations != c.Invoked { t.Errorf("%s: Expected %d invocations, got %d", k, c.Invoked, invocations) } } } // Test_waitForWithEarlyClosing_waitFunc tests WaitFor when the waitFunc closes its channel. The WaitFor should // always return ErrWaitTimeout. func Test_waitForWithEarlyClosing_waitFunc(t *testing.T) { stopCh := make(chan struct{}) defer close(stopCh) ctx := ContextForChannel(stopCh) start := time.Now()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 41.1K bytes - Viewed (0)