You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
81
83
}
82
84
})
83
85
84
86
It("should update cluster resource placement status as expected", func() {
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
89
89
})
90
90
91
91
It("should place resources on the selected clusters with no taint", func() {
Eventually(resourcePlacedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to place resources on the selected clusters")
@@ -222,9 +222,12 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickAll C
222
222
var_=Describe("ClusterResourcePlacement eviction of bound binding - PickAll CRP, PDB specified to protect resources in all but one cluster, eviction allowed", Ordered, Serial, func() {
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
294
297
}
295
298
})
296
299
297
300
It("should update cluster resource placement status as expected", func() {
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
302
303
})
303
304
304
305
It("should place resources on the selected clusters with no taint", func() {
Eventually(resourcePlacedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to place resources on the selected clusters")
@@ -397,9 +398,12 @@ var _ = Describe("ClusterResourcePlacement eviction of bound binding - PickN CRP
397
398
var_=Describe("ClusterResourcePlacement eviction of bound binding - PickN CRP, PDB with MaxUnavailable specified as percentage to protect all clusters but one, eviction allowed", Ordered, Serial, func() {
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
484
488
}
485
489
})
486
490
487
491
It("should update cluster resource placement status as expected", func() {
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
492
494
})
493
495
494
496
It("should place resources on the selected clusters with no taint", func() {
var_=Describe("placing resource using a cluster resource placement with pickFixed placement policy specified, taint clusters, pick all specified clusters", Serial, Ordered, func() {
@@ -61,10 +60,12 @@ var _ = Describe("placing resource using a cluster resource placement with pickF
61
60
62
61
var_=Describe("placing resources using a cluster resource placement with no placement policy specified, taint clusters, update cluster resource placement with tolerations", Serial, Ordered, func() {
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
97
98
})
98
99
99
100
It("should ensure no resources exist on member clusters with taint", func() {
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
104
105
}
105
106
})
106
107
107
108
It("should place resources on the selected cluster without taint", func() {
Eventually(resourcePlacedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to place resources on selected cluster")
113
+
}
110
114
})
111
115
112
116
It("should update cluster resource placement spec with tolerations for tainted cluster", func() {
@@ -130,10 +134,12 @@ var _ = Describe("placing resources using a cluster resource placement with no p
130
134
131
135
var_=Describe("placing resources using a cluster resource placement with no placement policy specified, taint clusters, remove taints from cluster, all cluster should be picked", Serial, Ordered, func() {
Eventually(crpStatusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
166
172
})
167
173
168
174
It("should ensure no resources exist on member clusters with taint", func() {
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
173
179
}
174
180
})
175
181
176
182
It("should place resources on the selected cluster without taint", func() {
Eventually(resourcePlacedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to place resources on selected cluster")
187
+
}
179
188
})
180
189
181
190
It("should remove taints from member clusters", func() {
@@ -197,10 +206,13 @@ var _ = Describe("placing resources using a cluster resource placement with no p
197
206
198
207
var_=Describe("picking N clusters with affinities and topology spread constraints, taint clusters, create cluster resource placement with toleration for one cluster", Serial, Ordered, func() {
Eventually(statusUpdatedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to update cluster resource placement status as expected")
266
279
})
267
280
268
281
It("should place resources on the selected clusters with tolerated taint", func() {
Eventually(resourceRemovedActual, eventuallyDuration, eventuallyInterval).Should(Succeed(), "Failed to check if resources doesn't exist on member cluster")
@@ -284,7 +297,7 @@ var _ = Describe("picking N clusters with affinities and topology spread constra
0 commit comments