From 4b0d5456dfa5d2645b38ba623e013214a7f15ef9 Mon Sep 17 00:00:00 2001 From: Amanuel Engeda <74629455+engedaam@users.noreply.github.com> Date: Tue, 25 Jul 2023 12:32:15 -0700 Subject: [PATCH] test: conformance testing failing due to limitation on instances (#4338) --- test/suites/machine/machine_test.go | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/test/suites/machine/machine_test.go b/test/suites/machine/machine_test.go index 10fd96f0b7f0..f92d4ec81734 100644 --- a/test/suites/machine/machine_test.go +++ b/test/suites/machine/machine_test.go @@ -53,6 +53,11 @@ var _ = Describe("StandaloneMachine", func() { Operator: v1.NodeSelectorOpIn, Values: []string{"c"}, }, + { + Key: v1alpha5.LabelCapacityType, + Operator: v1.NodeSelectorOpIn, + Values: []string{v1alpha1.CapacityTypeOnDemand}, + }, }, MachineTemplateRef: &v1alpha5.MachineTemplateRef{ Name: nodeTemplate.Name, @@ -198,6 +203,11 @@ var _ = Describe("StandaloneMachine", func() { Operator: v1.NodeSelectorOpIn, Values: []string{"c"}, }, + { + Key: v1alpha5.LabelCapacityType, + Operator: v1.NodeSelectorOpIn, + Values: []string{v1alpha1.CapacityTypeOnDemand}, + }, }, MachineTemplateRef: &v1alpha5.MachineTemplateRef{ Name: nodeTemplate.Name, @@ -228,6 +238,11 @@ var _ = Describe("StandaloneMachine", func() { Operator: v1.NodeSelectorOpIn, Values: []string{"c"}, }, + { + Key: v1alpha5.LabelCapacityType, + Operator: v1.NodeSelectorOpIn, + Values: []string{v1alpha1.CapacityTypeOnDemand}, + }, }, MachineTemplateRef: &v1alpha5.MachineTemplateRef{ Name: nodeTemplate.Name, @@ -274,6 +289,11 @@ var _ = Describe("StandaloneMachine", func() { Operator: v1.NodeSelectorOpIn, Values: []string{"amd64"}, }, + { + Key: v1alpha5.LabelCapacityType, + Operator: v1.NodeSelectorOpIn, + Values: []string{v1alpha1.CapacityTypeOnDemand}, + }, }, MachineTemplateRef: &v1alpha5.MachineTemplateRef{ Name: nodeTemplate.Name, @@ -314,6 +334,11 @@ var _ = Describe("StandaloneMachine", func() { Operator: v1.NodeSelectorOpIn, Values: []string{"amd64"}, }, + { + Key: v1alpha5.LabelCapacityType, + Operator: v1.NodeSelectorOpIn, + Values: []string{v1alpha1.CapacityTypeOnDemand}, + }, }, MachineTemplateRef: &v1alpha5.MachineTemplateRef{ Name: nodeTemplate.Name,