ContainerImage.Pinniped/internal/controller/apicerts
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
..
apiservice_updater_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
apiservice_updater.go Prevent multiple pinnipeds from thrashing on the API service 2020-11-11 20:09:49 -05:00
certs_expirer_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
certs_expirer.go Merge branch 'main' into rename_stuff 2020-09-18 16:39:58 -07:00
certs_manager_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
certs_manager.go certs_manager.go: Rename some local variables 2021-02-18 11:16:34 -08:00
certs_observer_test.go All controller unit tests should not cancel context until test is over 2021-03-04 17:26:01 -08:00
certs_observer.go internal/provider -> internal/dynamiccert 2020-09-23 08:29:35 -04:00
doc.go Save 2 lines by using inline-style comments for Copyright 2020-09-16 10:35:19 -04:00
update_api_service_test.go Use new 'go.pinniped.dev/generated/latest' package. 2021-02-16 13:00:08 -06:00
update_api_service.go Prevent multiple pinnipeds from thrashing on the API service 2020-11-11 20:09:49 -05:00