Part3: master to controlplane in test/integration

Rename RunAMaster to RunAControlPlane
This commit is contained in:
Mengjiao Liu
2021-05-25 16:10:48 +08:00
parent 2cefcc6be7
commit 387154f1a9
43 changed files with 113 additions and 113 deletions

View File

@@ -37,7 +37,7 @@ func Test_ServiceLoadBalancerDisableAllocateNodePorts(t *testing.T) {
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ServiceLBNodePortControl, true)()
masterConfig := framework.NewIntegrationTestControlPlaneConfig()
_, server, closeFn := framework.RunAMaster(masterConfig)
_, server, closeFn := framework.RunAnAPIServer(masterConfig)
defer closeFn()
config := restclient.Config{Host: server.URL}
@@ -81,7 +81,7 @@ func Test_ServiceLoadBalancerEnableThenDisableAllocatedNodePorts(t *testing.T) {
defer featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, features.ServiceLBNodePortControl, true)()
masterConfig := framework.NewIntegrationTestControlPlaneConfig()
_, server, closeFn := framework.RunAMaster(masterConfig)
_, server, closeFn := framework.RunAnAPIServer(masterConfig)
defer closeFn()
config := restclient.Config{Host: server.URL}