Part3: master to controlplane in test/integration
Rename RunAMaster to RunAControlPlane
This commit is contained in:
@@ -77,7 +77,7 @@ func TestQuota(t *testing.T) {
|
||||
|
||||
masterConfig := framework.NewIntegrationTestControlPlaneConfig()
|
||||
masterConfig.GenericConfig.AdmissionControl = admission
|
||||
_, _, closeFn := framework.RunAnApiserverUsingServer(masterConfig, s, h)
|
||||
_, _, closeFn := framework.RunAnAPIServerUsingServer(masterConfig, s, h)
|
||||
defer closeFn()
|
||||
|
||||
ns := framework.CreateTestingNamespace("quotaed", s, t)
|
||||
@@ -277,7 +277,7 @@ func TestQuotaLimitedResourceDenial(t *testing.T) {
|
||||
|
||||
masterConfig := framework.NewIntegrationTestControlPlaneConfig()
|
||||
masterConfig.GenericConfig.AdmissionControl = admission
|
||||
_, _, closeFn := framework.RunAnApiserverUsingServer(masterConfig, s, h)
|
||||
_, _, closeFn := framework.RunAnAPIServerUsingServer(masterConfig, s, h)
|
||||
defer closeFn()
|
||||
|
||||
ns := framework.CreateTestingNamespace("quota", s, t)
|
||||
|
Reference in New Issue
Block a user