- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for storeScaleEvent (0.27 sec)
-
pkg/controller/podautoscaler/horizontal_test.go
}, } gotReplicasChangeUp := getReplicasChangePerPeriod(60, hcUp.scaleUpEvents[tc.key]) assert.Equal(t, tc.expectedReplicasChange, gotReplicasChangeUp) hcUp.storeScaleEvent(behaviorUp, tc.key, 10, 10+tc.replicaChange) if !assert.Len(t, hcUp.scaleUpEvents[tc.key], len(tc.newScaleEvents), "up: scale events differ in length") { return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)