- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Test_waitForWithContextCancelsContext (0.41 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go
if err != ErrWaitTimeout { t.Errorf("expected ErrWaitTimeout from WaitFunc") } } // Test_waitForWithContextCancelsContext verifies that after the condition func returns true, // waitForWithContext cancels the context it supplies to the WaitWithContextFunc. func Test_waitForWithContextCancelsContext(t *testing.T) { ctx, cancel := context.WithCancel(context.Background()) defer cancel()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 41.1K bytes - Viewed (0)