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,