apiserver/pkg/util
Mike Spreitzer 8c2108bc80 Refactor goroutine counting
Add comment outlining TestContextCancel.

Stop calling `t.Errorf` from wrong goroutine.

Package up queueNoteFn expectation checking.

Add counting of goroutine in req1 exec fn.

Remove unnecessary assignment to `_`.

Make TestContextCancel wait on fake clock, to insulate timing check
from scheduler noise.

Factor goroutine counting out of queueset.go, into queueset_test.go,
where it matters.

Refactor promise: Use a simple channel-based implementation for normal
code, a mutex-based one for testing code.

Took all the panics out of queueset.go

Shrink the timeouts in promise tests to 1 second.

Kubernetes-commit: 1db36ae3b30e30d70972998a22987a7db470479b
2021-07-29 00:35:25 -04:00
..
apihelpers APF: graduate API and types to beta 2020-11-04 16:33:14 +08:00
dryrun dry-run: Use dry-runnable structure 2018-06-21 08:49:13 -07:00
feature update import of generic featuregate code from k8s.io/apiserver/pkg/util/feature -> k8s.io/component-base/featuregate 2019-03-04 12:46:52 -05:00
flowcontrol Refactor goroutine counting 2021-07-29 00:35:25 -04:00
flushwriter sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-15 09:38:17 +00:00
openapi remove go-openapi/spec 2021-04-20 17:48:33 +02:00
proxy Output port as number in error message 2019-11-22 13:12:59 -08:00
shufflesharding Less demanding test cases in TestUniformDistribution 2021-01-25 01:44:08 -05:00
webhook add tracing to webhook requests 2021-07-08 20:13:33 -07:00
wsstream fix S1019 use of make 2020-06-25 17:26:42 -05:00
x509metrics webhooks,aggregation: add metrics to count certs missing SAN 2020-10-06 13:02:52 +02:00