apiserver/pkg/util
Mike Spreitzer f0320d394e Add test for windup problem in APF
The current design for Fair Queueing for Server Requests has a
problem: if the min-max fair result stays different from an even
division for a long time and no queue involved in the imbalance goes
empty then the imbalance keeps accruing in queue virtual state times.

This commit adds a test that demonstrates the problem.

It also has some other tweaks to make other tests less flaky.

Factor the big scenario-testing func into pieces, with supporting
structs.

Kubernetes-commit: f3fdd5cf9f51f2a03ebfddef82bc2014e04b62a0
2020-06-04 00:15:08 -04:00
..
apihelpers non-generated api models misc 2019-10-23 15:17:10 +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 Add test for windup problem in APF 2020-06-04 00:15:08 -04:00
flushwriter sync: initially remove files BUILD */BUILD BUILD.bazel */BUILD.bazel 2018-03-15 09:38:17 +00:00
openapi github.com/googleapis/gnostic v0.4.1 2020-03-31 17:18:56 -04:00
proxy Output port as number in error message 2019-11-22 13:12:59 -08:00
shufflesharding address some comments 2019-10-11 20:06:31 +08:00
webhook Remove double import of k8s.io/apimachinery/pkg/util/net 2020-04-08 16:25:23 -04:00
wsstream Fix a wrong usage of recover in apiserver. 2020-05-29 17:03:43 +08:00