Skip to content

Commit

Permalink
Fix Nutanix UUID tests (aws#4324)
Browse files Browse the repository at this point in the history
  • Loading branch information
abhinavmpandey08 authored Dec 7, 2022
1 parent b89f807 commit 066b0ee
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions test/e2e/simpleflow_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ func TestSnowKubernetes123SimpleFlow(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes121SimpleFlow(t *testing.T) {
func TestNutanixKubernetes121SimpleFlowWithName(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu121Nutanix()),
Expand All @@ -523,7 +523,7 @@ func TestNutanixKubernetes121SimpleFlow(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes122SimpleFlow(t *testing.T) {
func TestNutanixKubernetes122SimpleFlowWithName(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu122Nutanix()),
Expand All @@ -532,7 +532,7 @@ func TestNutanixKubernetes122SimpleFlow(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes123SimpleFlow(t *testing.T) {
func TestNutanixKubernetes123SimpleFlowWithName(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu123Nutanix()),
Expand All @@ -541,7 +541,7 @@ func TestNutanixKubernetes123SimpleFlow(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes124SimpleFlow(t *testing.T) {
func TestNutanixKubernetes124SimpleFlowWithName(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu124Nutanix()),
Expand All @@ -550,7 +550,7 @@ func TestNutanixKubernetes124SimpleFlow(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes121SimpleFlowUUID(t *testing.T) {
func TestNutanixKubernetes121SimpleFlowWithUUID(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu121NutanixUUID(),
Expand All @@ -561,7 +561,7 @@ func TestNutanixKubernetes121SimpleFlowUUID(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes122SimpleFlowUUID(t *testing.T) {
func TestNutanixKubernetes122SimpleFlowWithUUID(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu122NutanixUUID(),
Expand All @@ -572,7 +572,7 @@ func TestNutanixKubernetes122SimpleFlowUUID(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes123SimpleFlowUUID(t *testing.T) {
func TestNutanixKubernetes123SimpleFlowWithUUID(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu123NutanixUUID(),
Expand All @@ -583,7 +583,7 @@ func TestNutanixKubernetes123SimpleFlowUUID(t *testing.T) {
runSimpleFlow(test)
}

func TestNutanixKubernetes124SimpleFlowUUID(t *testing.T) {
func TestNutanixKubernetes124SimpleFlowWithUUID(t *testing.T) {
test := framework.NewClusterE2ETest(
t,
framework.NewNutanix(t, framework.WithUbuntu124NutanixUUID(),
Expand Down
2 changes: 1 addition & 1 deletion test/framework/nutanix.go
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ func WithUbuntu124NutanixUUID() NutanixOpt {
func WithPrismElementClusterUUID() NutanixOpt {
return func(v *Nutanix) {
v.fillers = append(v.fillers,
api.WithNutanixStringFromEnvVar(nutanixPrismElementClusterUUID, api.WithNutanixMachineTemplateImageUUID),
api.WithNutanixStringFromEnvVar(nutanixPrismElementClusterUUID, api.WithNutanixPrismElementClusterUUID),
)
}
}
Expand Down

0 comments on commit 066b0ee

Please sign in to comment.