- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for startRequest (0.13 sec)
-
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
// and then cancels the context of request 2. // 6. The exec fn of request 1, if StartRequest 2 returns a req2 (which is the normal case), // calls `req2.Finish`, which is expected to return after the context cancel. // 7. The queueset interface allows StartRequest 2 to return `nil` in this situation, // if the scheduler gets the cancel done before StartRequest finishes;
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
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() fcmetrics.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)