mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Updated API Priority and Fairness validation to track change in catch-all priority level
This commit is contained in:
parent
d1f62ead18
commit
a8e0747043
@ -1013,14 +1013,10 @@ func TestPriorityLevelConfigurationValidation(t *testing.T) {
|
|||||||
Spec: flowcontrol.PriorityLevelConfigurationSpec{
|
Spec: flowcontrol.PriorityLevelConfigurationSpec{
|
||||||
Type: flowcontrol.PriorityLevelEnablementLimited,
|
Type: flowcontrol.PriorityLevelEnablementLimited,
|
||||||
Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
|
Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
|
||||||
AssuredConcurrencyShares: 100,
|
AssuredConcurrencyShares: 1,
|
||||||
LimitResponse: flowcontrol.LimitResponse{
|
LimitResponse: flowcontrol.LimitResponse{
|
||||||
Type: flowcontrol.LimitResponseTypeQueue,
|
Type: flowcontrol.LimitResponseTypeReject,
|
||||||
Queuing: &flowcontrol.QueuingConfiguration{
|
}}},
|
||||||
Queues: 128,
|
|
||||||
HandSize: 6,
|
|
||||||
QueueLengthLimit: 100,
|
|
||||||
}}}},
|
|
||||||
},
|
},
|
||||||
expectedErrors: field.ErrorList{},
|
expectedErrors: field.ErrorList{},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user