[Federation] Make the hpa scale time window configurable

This commit is contained in:
Irfan Ur Rehman
2017-07-25 21:10:26 +05:30
parent 0bea0ca1d9
commit 2be69a515c
17 changed files with 72 additions and 47 deletions

View File

@@ -34,7 +34,7 @@ func NewControllerFixture(t *testing.T, kind string, adapterFactory federatedtyp
f := &ControllerFixture{
stopChan: make(chan struct{}),
}
synccontroller.StartFederationSyncController(kind, adapterFactory, config, f.stopChan, true)
synccontroller.StartFederationSyncController(kind, adapterFactory, config, f.stopChan, true, nil)
return f
}