ContainerImage.Pinniped/internal/controller/kubecertagent
Ryan Richard d8c6894cbc All controller unit tests should not cancel context until test is over
All controller unit tests were accidentally using a timeout context
for the informers, instead of a cancel context which stays alive until
each test is completely finished. There is no reason to risk
unpredictable behavior of a timeout being reached during an individual
test, even though with the previous 3 second timeout it could only be
reached on a machine which is running orders of magnitude slower than
usual, since each test usually runs in about 100-300 ms. Unfortunately,
sometimes our CI workers might get that slow.

This sparked a review of other usages of timeout contexts in other
tests, and all of them were increased to a minimum value of 1 minute,
under the rule of thumb that our tests will be more reliable on slow
machines if they "pass fast and fail slow".
2021-03-04 17:26:01 -08:00
..
testdata WIP: start replacing the kubecertauthority pkg with a new controller 2020-09-22 17:45:20 -07:00
annotater.go Fix label handling in kubecertagent controllers. 2021-03-02 13:59:46 -06:00
annotater_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
creater.go Factor out issuerconfig.UpdateStrategy helper. 2021-03-01 16:21:10 -06:00
creater_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
deleter.go Reduce log spam 2020-11-10 10:22:27 -05:00
deleter_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
execer.go Fix label handling in kubecertagent controllers. 2021-03-02 13:59:46 -06:00
execer_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
kubecertagent.go Drop NewKubeConfigInfoPublisherController, start populating strategy frontend from kubecertagent execer controller. 2021-03-02 13:09:25 -06:00
kubecertagent_test.go Rename CredentialIssuerConfig to CredentialIssuer. 2020-11-02 17:39:42 -06:00
pod_command_executor.go Changing references from 1.19 to 1.20 2021-01-07 15:25:47 -08:00