Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for Test_NewGoRoutineMap_Positive_WaitEmptyWithExpBackoff (0.81 sec)

  1. pkg/util/goroutinemap/goroutinemap_test.go

    	}()
    
    	// Assert
    	err := waitChannelWithTimeout(waitDoneCh, testTimeout)
    	if err != nil {
    		t.Errorf("Error waiting for GoRoutineMap.Wait: %v", err)
    	}
    }
    
    func Test_NewGoRoutineMap_Positive_WaitEmptyWithExpBackoff(t *testing.T) {
    	// Test than Wait() on empty GoRoutineMap always succeeds without blocking
    	// Arrange
    	grm := NewGoRoutineMap(true /* exponentialBackOffOnError */)
    
    	// Act
    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