mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-20 02:11:09 +00:00
Merge pull request #97344 from towca/jtuznik/ca-e2e-fix
Update autoscaling e2e test after an event message was changed
This commit is contained in:
commit
970b532379
@ -178,7 +178,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
|
||||
framework.ExpectNoError(err)
|
||||
|
||||
for _, e := range events.Items {
|
||||
if e.InvolvedObject.Kind == "Pod" && e.Reason == "NotTriggerScaleUp" && strings.Contains(e.Message, "it wouldn't fit if a new node is added") {
|
||||
if e.InvolvedObject.Kind == "Pod" && e.Reason == "NotTriggerScaleUp" {
|
||||
ginkgo.By("NotTriggerScaleUp event found")
|
||||
eventFound = true
|
||||
break EventsLoop
|
||||
|
Loading…
Reference in New Issue
Block a user