Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestRateLimitedSafeWaitGroup (0.44 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/ratelimited_waitgroup_test.go

    */
    
    package waitgroup
    
    import (
    	"context"
    	"strings"
    	"sync"
    	"testing"
    	"time"
    
    	"golang.org/x/time/rate"
    	"k8s.io/apimachinery/pkg/util/wait"
    )
    
    func TestRateLimitedSafeWaitGroup(t *testing.T) {
    	// we want to keep track of how many times rate limiter Wait method is
    	// being invoked, both before and after the wait group is in waiting mode.
    	limiter := &limiterWrapper{}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 21 14:08:00 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top