[Federation] Update to enable all apis in integration tests

This commit is contained in:
Irfan Ur Rehman 2017-07-19 16:44:05 +05:30
parent 772c352992
commit 7779377305

View File

@ -63,7 +63,10 @@ func (f *FederationFixture) SetUp(t *testing.T) {
t.Logf("Starting a federation of %d clusters", f.DesiredClusterCount)
f.APIFixture = &FederationAPIFixture{}
f.APIFixture.SetUp(t)
runOptions := GetRunOptions()
// Enable all apis features for test.
runOptions.APIEnablement.RuntimeConfig.Set("api/all=true")
f.APIFixture.SetUpWithRunOptions(t, runOptions)
f.stopChan = make(chan struct{})
monitorPeriod := 1 * time.Second