mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Update test/e2e/autoscaling/cluster_size_autoscaling.go with suggestions
Co-authored-by: Patrick Ohly <patrick.ohly@intel.com>
This commit is contained in:
parent
50ed17a66e
commit
30c586a647
@ -364,7 +364,7 @@ var _ = SIGDescribe("Cluster size autoscaling [Slow]", func() {
|
||||
if status.target != target {
|
||||
klog.Warningf("Final number of nodes (%v) does not match initial scale-up target (%v).", status.target, target)
|
||||
}
|
||||
gomega.Expect(status.timestamp.Add(freshStatusLimit)).ToNot(gomega.BeTemporally("<", time.Now()))
|
||||
gomega.Expect(status.timestamp.Add(freshStatusLimit)).To(gomega.BeTemporally(">=", time.Now()))
|
||||
framework.ExpectEqual(status.status, caNoScaleUpStatus)
|
||||
framework.ExpectEqual(status.ready, status.target)
|
||||
nodes, err := e2enode.GetReadySchedulableNodes(ctx, f.ClientSet)
|
||||
|
Loading…
Reference in New Issue
Block a user