ContainerImage.Pinniped/internal/controller/kubecertagent
Ryan Richard 2bba39d723 TestAgentController unit test is flaky, try to add workaround
TestAgentController really runs the controller and evaluates multiple
calls to the controller's Sync with real informers caching updates.
There is a large amount of non-determinism in this unit test, and it
does not always behave the same way. Because it makes assertions about
the specific errors that should be returned by Sync, it was not
accounting for some errors that are only returned by Sync once in a
while depending on the exact (unpredictable) order of operations.

This commit doesn't fix the non-determinism in the test, but rather
tries to work around it by also allowing other (undesired but
inevitable) error messages to appear in the list of actual error
messages returned by the calls to the Sync function.

Signed-off-by: Margo Crawford <margaretc@vmware.com>
2021-07-15 13:41:31 -07:00
..
mocks Add generated mocks for kubecertagent. 2021-04-26 08:19:45 -06:00
testdata WIP: start replacing the kubecertauthority pkg with a new controller 2020-09-22 17:45:20 -07:00
kubecertagent_test.go TestAgentController unit test is flaky, try to add workaround 2021-07-15 13:41:31 -07:00
kubecertagent.go Create CredentialIssuer at install, not runtime. 2021-05-19 17:15:25 -05:00
legacypodcleaner_test.go Add a new "legacy pod cleaner" controller. 2021-04-26 08:19:45 -06:00
legacypodcleaner.go Add a new "legacy pod cleaner" controller. 2021-04-26 08:19:45 -06:00
pod_command_executor.go Refactor kube-cert-agent controllers to use a Deployment. 2021-04-26 08:19:45 -06:00