- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPollForever (0.19 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go
// We don't need to wait for fp.wg, as pollImmediate shouldn't call waitFunc at all. used := atomic.LoadInt32(&fp.used) if used != 0 { t.Errorf("Expected exactly zero ticks, got %d", used) } } func TestPollForever(t *testing.T) { ch := make(chan struct{}) errc := make(chan error, 1) done := make(chan struct{}, 1) complete := make(chan struct{}) go func() { f := ConditionFunc(func() (bool, error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 41.1K bytes - Viewed (0)