Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for popExpiredWatchersThreadUnsafe (0.17 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go

    		t.Errorf("unexpected bucket size: %#v", watchers.watchersBuckets)
    	}
    	watchers0 := watchers.popExpiredWatchersThreadUnsafe()
    	if len(watchers0) != 0 {
    		t.Errorf("unexpected bucket size: %#v", watchers0)
    	}
    
    	clock.Step(10 * time.Second)
    	watchers1 := watchers.popExpiredWatchersThreadUnsafe()
    	if len(watchers1) != 1 || len(watchers1[0]) != 1 {
    		t.Errorf("unexpected bucket size: %v", watchers1)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 09:20:10 UTC 2024
    - 22.9K bytes
    - Viewed (0)
Back to top