mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-13 05:46:16 +00:00
[Federation] Update to enable all apis in integration tests
This commit is contained in:
parent
772c352992
commit
7779377305
@ -63,7 +63,10 @@ func (f *FederationFixture) SetUp(t *testing.T) {
|
|||||||
t.Logf("Starting a federation of %d clusters", f.DesiredClusterCount)
|
t.Logf("Starting a federation of %d clusters", f.DesiredClusterCount)
|
||||||
|
|
||||||
f.APIFixture = &FederationAPIFixture{}
|
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{})
|
f.stopChan = make(chan struct{})
|
||||||
monitorPeriod := 1 * time.Second
|
monitorPeriod := 1 * time.Second
|
||||||
|
Loading…
Reference in New Issue
Block a user