Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestTimeBudget (0.21 sec)

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

    limitations under the License.
    */
    
    package cacher
    
    import (
    	"testing"
    	"time"
    
    	testingclock "k8s.io/utils/clock/testing"
    )
    
    func TestTimeBudget(t *testing.T) {
    	fakeClock := testingclock.NewFakeClock(time.Now())
    
    	budget := &timeBudgetImpl{
    		clock:     fakeClock,
    		budget:    time.Duration(0),
    		maxBudget: 200 * time.Millisecond,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 15 09:52:18 UTC 2021
    - 2.8K bytes
    - Viewed (0)
Back to top