k3s/cmd/kube-controller-manager/app
Kubernetes Submit Queue d19a2841e3 Merge pull request #47645 from jsafrane/integration-test-speedup
Automatic merge from submit-queue (batch tested with PRs 48139, 48042, 47645, 48054, 48003)

Speed up attach/detach controller integration tests

Internal attach/detach controller timers should be configurable and tests should use much shorter values.

`reconcilerSyncDuration` is deliberately left out of `TimerConfig` because it's the only one that's not a constant one, it's configurable by user.

Fixes #47129 

Before:
```
--- PASS: TestPodDeletionWithDswp (63.21s)
--- PASS: TestPodUpdateWithWithADC (13.68s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (13.55s)
--- PASS: TestPodAddedByDswp (183.01s)
--- PASS: TestPersistentVolumeRecycler (12.55s)
--- PASS: TestPersistentVolumeDeleter (12.54s)
--- PASS: TestPersistentVolumeBindRace (3.51s)
--- PASS: TestPersistentVolumeClaimLabelSelector (12.50s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (12.54s)
--- PASS: TestPersistentVolumeMultiPVs (3.05s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (4.36s)
--- PASS: TestPersistentVolumeControllerStartup (7.29s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (5.02s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (12.48s)
ok  	k8s.io/kubernetes/test/integration/volume	359.727s
```

After:
```
--- PASS: TestPodDeletionWithDswp (3.71s)
--- PASS: TestPodUpdateWithWithADC (3.63s)
--- PASS: TestPodUpdateWithKeepTerminatedPodVolumes (3.70s)
--- PASS: TestPodAddedByDswp (5.68s)
--- PASS: TestPersistentVolumeRecycler (12.54s)
--- PASS: TestPersistentVolumeDeleter (12.55s)
--- PASS: TestPersistentVolumeBindRace (3.55s)
--- PASS: TestPersistentVolumeClaimLabelSelector (12.50s)
--- PASS: TestPersistentVolumeClaimLabelSelectorMatchExpressions (12.52s)
--- PASS: TestPersistentVolumeMultiPVs (3.98s)
--- PASS: TestPersistentVolumeMultiPVsPVCs (3.85s)
--- PASS: TestPersistentVolumeControllerStartup (7.18s)
--- PASS: TestPersistentVolumeProvisionMultiPVCs (5.23s)
--- PASS: TestPersistentVolumeMultiPVsDiffAccessModes (12.48s)
ok  	k8s.io/kubernetes/test/integration/volume	103.267s
```

PV controller tests are the slowest ones now.

@kubernetes/sig-storage-pr-reviews 
/assign @gnufied 

```release-note
NONE
```
2017-06-27 14:08:17 -07:00
..
options set max concurrent namespace syncs to 10 2017-06-12 18:50:00 -07:00
BUILD Move LoadPodFromFile to volume utils 2017-06-26 16:02:43 +02:00
apps.go Auto generated code for StatefulSet update 2017-06-06 13:47:19 -07:00
autoscaling.go remove unnecessary call to metrics install package 2017-05-09 18:05:22 -07:00
batch.go Remove references to pkg/controller/informers 2017-02-27 06:47:59 -05:00
bootstrap.go Wire in bootstrap and token controllers. 2017-02-10 12:49:23 -08:00
certificates.go migrate group approver to use subject access reviews 2017-05-30 11:43:03 -07:00
controller_manager_test.go add --controllers to controller manager 2017-01-12 08:46:33 -05:00
controllermanager.go run hack/update-all 2017-06-22 11:31:03 -07:00
core.go Merge pull request #47645 from jsafrane/integration-test-speedup 2017-06-27 14:08:17 -07:00
extensions.go Implement DaemonSet history logic in controller 2017-06-03 00:44:23 -07:00
plugins.go Move LoadPodFromFile to volume utils 2017-06-26 16:02:43 +02:00
policy.go Log more verbose when DisruptionController doesn't start. 2017-05-18 13:19:06 -07:00