mirror of https://github.com/kubernetes/kops.git
Update mock to v1.21.0-alpha.1
This commit is contained in:
parent
7a9fc869cf
commit
4f70c4237c
|
|
@ -531,7 +531,7 @@ func (i *integrationTest) runTestTerraformAWS(t *testing.T) {
|
||||||
tfFileName = "kubernetes.tf.json"
|
tfFileName = "kubernetes.tf.json"
|
||||||
}
|
}
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
h.SetupMockAWS()
|
h.SetupMockAWS()
|
||||||
|
|
||||||
expectedFilenames := []string{}
|
expectedFilenames := []string{}
|
||||||
|
|
@ -584,7 +584,7 @@ func (i *integrationTest) runTestPhase(t *testing.T, phase cloudup.Phase) {
|
||||||
h := testutils.NewIntegrationTestHarness(t)
|
h := testutils.NewIntegrationTestHarness(t)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
h.SetupMockAWS()
|
h.SetupMockAWS()
|
||||||
phaseName := string(phase)
|
phaseName := string(phase)
|
||||||
if phaseName == "" {
|
if phaseName == "" {
|
||||||
|
|
@ -630,7 +630,7 @@ func (i *integrationTest) runTestTerraformGCE(t *testing.T) {
|
||||||
h := testutils.NewIntegrationTestHarness(t)
|
h := testutils.NewIntegrationTestHarness(t)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
h.SetupMockGCE()
|
h.SetupMockGCE()
|
||||||
|
|
||||||
expectedFilenames := []string{
|
expectedFilenames := []string{
|
||||||
|
|
@ -664,7 +664,7 @@ func (i *integrationTest) runTestCloudformation(t *testing.T) {
|
||||||
h := testutils.NewIntegrationTestHarness(t)
|
h := testutils.NewIntegrationTestHarness(t)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
h.SetupMockAWS()
|
h.SetupMockAWS()
|
||||||
|
|
||||||
factory := util.NewFactory(factoryOptions)
|
factory := util.NewFactory(factoryOptions)
|
||||||
|
|
|
||||||
|
|
@ -350,7 +350,7 @@ func runLifecycleTestAWS(o *LifecycleTestOptions) {
|
||||||
h := testutils.NewIntegrationTestHarness(o.t)
|
h := testutils.NewIntegrationTestHarness(o.t)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
cloud := h.SetupMockAWS()
|
cloud := h.SetupMockAWS()
|
||||||
|
|
||||||
var beforeIds []string
|
var beforeIds []string
|
||||||
|
|
@ -386,7 +386,7 @@ func runLifecycleTestOpenstack(o *LifecycleTestOptions) {
|
||||||
os.Setenv("OS_REGION_NAME", origRegion)
|
os.Setenv("OS_REGION_NAME", origRegion)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
cloud := testutils.SetupMockOpenstack()
|
cloud := testutils.SetupMockOpenstack()
|
||||||
|
|
||||||
var beforeIds []string
|
var beforeIds []string
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ func TestListVPCs(t *testing.T) {
|
||||||
h := testutils.NewIntegrationTestHarness(t)
|
h := testutils.NewIntegrationTestHarness(t)
|
||||||
defer h.Close()
|
defer h.Close()
|
||||||
|
|
||||||
h.MockKopsVersion("1.19.0-alpha.3")
|
h.MockKopsVersion("1.21.0-alpha.1")
|
||||||
awsCloud := h.SetupMockAWS()
|
awsCloud := h.SetupMockAWS()
|
||||||
|
|
||||||
mockEC2 := awsCloud.EC2().(*mockec2.MockEC2)
|
mockEC2 := awsCloud.EC2().(*mockec2.MockEC2)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue