kubernetes/pkg/controller/disruption
Jonathan Basseri c8d937c5f1 Add unit test for DisruptionController retry logic
This tests the PDB status update path in DisruptionController and
asserts that conflicting writes (with eviciton handler) are handled
gracefully.

This adds the client-go fake.Clientset into our tests, because that is
the layer required for injecting update failures.

This also adds a TestMain so that DisruptionController logs can be
enabled during test. e.g.,

    go test ./pkg/controller/disruption -v -args -v=4
2019-09-03 16:52:45 -07:00
..
BUILD Add unit test for DisruptionController retry logic 2019-09-03 16:52:45 -07:00
disruption_test.go Add unit test for DisruptionController retry logic 2019-09-03 16:52:45 -07:00
disruption.go Fix retry logic in DisruptionController 2019-08-30 16:02:09 -07:00
OWNERS Updates OWNERS files and OWNERS_ALIASES for SIG Apps to make reviewers 2019-04-16 11:35:21 -07:00