Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestNoRestraint (0.1 sec)

  1. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    	}
    }
    
    func TestMain(m *testing.M) {
    	klog.InitFlags(nil)
    	os.Exit(m.Run())
    }
    
    // TestNoRestraint tests whether the no-restraint factory gives every client what it asks for
    // even though that is unfair.
    // Expects fairness when there is no competition, unfairness when there is competition.
    func TestNoRestraint(t *testing.T) {
    	metrics.Register()
    	testCases := []struct {
    		concurrency int
    		margin      float64
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top