Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for queueKey (0.12 sec)

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

    	counter.Add(1) // account for the goroutine running this test
    
    	queue, ok := qs.(*queueSet)
    	if !ok {
    		t.Fatalf("expected a QueueSet of type: %T but got: %T", &queueSet{}, qs)
    	}
    	if queue.totRequestsExecuting != 0 {
    		t.Fatalf("precondition: expected total requests currently executing of the QueueSet to be 0, but got: %d", queue.totRequestsExecuting)
    	}
    	if queue.dCfg.ConcurrencyLimit != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/server/filters/priority-and-fairness_test.go

    // automatically even if the server doesn't cancel is explicitly.
    // This is required to ensure we won't be leaking goroutines that wait for context
    // cancelling (e.g. in queueset::StartRequest method).
    // Even though in production we are not using httptest.Server, this logic is shared
    // across these two.
    func TestContextClosesOnRequestProcessed(t *testing.T) {
    	epmetrics.Register()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 12:18:40 UTC 2023
    - 52.6K bytes
    - Viewed (0)
Back to top