Skip to content

Commit ce40eba

Browse files
committed
fix remove g6f from gpu int tests
1 parent 882e957 commit ce40eba

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

test/suites/integration/extended_resources_test.go

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ var _ = Describe("Extended Resources", func() {
7272
Operator: corev1.NodeSelectorOpExists,
7373
},
7474
})
75+
test.ReplaceRequirements(nodePool, karpv1.NodeSelectorRequirementWithMinValues{
76+
NodeSelectorRequirement: corev1.NodeSelectorRequirement{
77+
Key: v1.LabelInstanceFamily,
78+
Operator: corev1.NodeSelectorOpNotIn,
79+
Values: []string{"g6f"},
80+
},
81+
})
7582
env.ExpectCreated(nodeClass, nodePool, dep)
7683
env.EventuallyExpectHealthyPodCount(selector, numPods)
7784
env.ExpectCreatedNodeCount("==", 1)
@@ -103,6 +110,13 @@ var _ = Describe("Extended Resources", func() {
103110
Key: v1.LabelInstanceCategory,
104111
Operator: corev1.NodeSelectorOpExists,
105112
}})
113+
test.ReplaceRequirements(nodePool, karpv1.NodeSelectorRequirementWithMinValues{
114+
NodeSelectorRequirement: corev1.NodeSelectorRequirement{
115+
Key: v1.LabelInstanceFamily,
116+
Operator: corev1.NodeSelectorOpNotIn,
117+
Values: []string{"g6f"},
118+
},
119+
})
106120
env.ExpectCreated(nodeClass, nodePool, dep)
107121
env.EventuallyExpectHealthyPodCount(selector, numPods)
108122
env.ExpectCreatedNodeCount("==", 1)

0 commit comments

Comments
 (0)