Part3: master to controlplane in test/integration
Rename RunAMaster to RunAControlPlane
This commit is contained in:
@@ -160,7 +160,7 @@ func newStatefulSetPVC(name string) v1.PersistentVolumeClaim {
|
||||
// scSetup sets up necessities for Statefulset integration test, including master, apiserver, informers, and clientset
|
||||
func scSetup(t *testing.T) (*httptest.Server, framework.CloseFunc, *statefulset.StatefulSetController, informers.SharedInformerFactory, clientset.Interface) {
|
||||
masterConfig := framework.NewIntegrationTestControlPlaneConfig()
|
||||
_, s, closeFn := framework.RunAMaster(masterConfig)
|
||||
_, s, closeFn := framework.RunAnAPIServer(masterConfig)
|
||||
|
||||
config := restclient.Config{Host: s.URL}
|
||||
clientSet, err := clientset.NewForConfig(&config)
|
||||
|
Reference in New Issue
Block a user