Part3: master to controlplane in test/integration
Rename RunAMaster to RunAControlPlane
This commit is contained in:
@@ -34,7 +34,7 @@ func TestAdmission(t *testing.T) {
|
||||
masterConfig := framework.NewControlPlaneConfig()
|
||||
masterConfig.GenericConfig.EnableProfiling = true
|
||||
masterConfig.GenericConfig.AdmissionControl = defaulttolerationseconds.NewDefaultTolerationSeconds()
|
||||
_, s, closeFn := framework.RunAMaster(masterConfig)
|
||||
_, s, closeFn := framework.RunAnAPIServer(masterConfig)
|
||||
defer closeFn()
|
||||
|
||||
client := clientset.NewForConfigOrDie(&restclient.Config{Host: s.URL, ContentConfig: restclient.ContentConfig{GroupVersion: &schema.GroupVersion{Group: "", Version: "v1"}}})
|
||||
|
Reference in New Issue
Block a user