Updated API Priority and Fairness validation to track change in catch-all priority level

This commit is contained in:
Mike Spreitzer 2020-01-24 11:57:59 -05:00
parent d1f62ead18
commit a8e0747043

View File

@ -1013,14 +1013,10 @@ func TestPriorityLevelConfigurationValidation(t *testing.T) {
Spec: flowcontrol.PriorityLevelConfigurationSpec{
Type: flowcontrol.PriorityLevelEnablementLimited,
Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
AssuredConcurrencyShares: 100,
AssuredConcurrencyShares: 1,
LimitResponse: flowcontrol.LimitResponse{
Type: flowcontrol.LimitResponseTypeQueue,
Queuing: &flowcontrol.QueuingConfiguration{
Queues: 128,
HandSize: 6,
QueueLengthLimit: 100,
}}}},
Type: flowcontrol.LimitResponseTypeReject,
}}},
},
expectedErrors: field.ErrorList{},
},