Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_waitForWithContextCancelsContext (0.41 sec)

  1. 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)
Back to top