Skip to content

Commit

Permalink
Update suite_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
felix-zhe-huang authored Mar 22, 2022
1 parent 8d9cb49 commit acaefd2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/apis/provisioning/v1alpha5/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ var _ = Describe("Validation", func() {
B := NewRequirements(v1.NodeSelectorRequirement{Key: v1.LabelTopologyZone, Operator: v1.NodeSelectorOpExists})
Expect(A.Compatible(B)).To(Succeed())
})
It("A should fail to be compatible to B, <NotIn, DoesNotExist> operator, conflicting", func() {
It("A should be compatible to B, <NotIn, DoesNotExist> operator, conflicting", func() {
A := NewRequirements(v1.NodeSelectorRequirement{Key: v1.LabelTopologyZone, Operator: v1.NodeSelectorOpNotIn, Values: []string{"test", "foo"}})
B := NewRequirements(v1.NodeSelectorRequirement{Key: v1.LabelTopologyZone, Operator: v1.NodeSelectorOpDoesNotExist})
Expect(A.Compatible(B)).To(Succeed())
Expand Down

0 comments on commit acaefd2

Please sign in to comment.