Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generateErrorFunc (0.18 sec)

  1. pkg/util/goroutinemap/goroutinemap_test.go

    	grm := NewGoRoutineMap(true /* exponentialBackOffOnError */)
    	operationName := "operation-err"
    
    	operation1DoneCh := make(chan interface{}, 0 /* bufferSize */)
    	operation1 := generateErrorFunc(operation1DoneCh)
    	err := grm.Run(operationName, operation1)
    	if err != nil {
    		t.Fatalf("NewGoRoutine failed. Expected: <no error> Actual: <%v>", err)
    	}
    
    	// Act
    	waitDoneCh := make(chan interface{}, 1)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
Back to top