Skip to content

Commit a8e0747

Browse files
committed
Updated API Priority and Fairness validation to track change in catch-all priority level
1 parent d1f62ea commit a8e0747

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

pkg/apis/flowcontrol/validation/validation_test.go

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,14 +1013,10 @@ func TestPriorityLevelConfigurationValidation(t *testing.T) {
10131013
Spec: flowcontrol.PriorityLevelConfigurationSpec{
10141014
Type: flowcontrol.PriorityLevelEnablementLimited,
10151015
Limited: &flowcontrol.LimitedPriorityLevelConfiguration{
1016-
AssuredConcurrencyShares: 100,
1016+
AssuredConcurrencyShares: 1,
10171017
LimitResponse: flowcontrol.LimitResponse{
1018-
Type: flowcontrol.LimitResponseTypeQueue,
1019-
Queuing: &flowcontrol.QueuingConfiguration{
1020-
Queues: 128,
1021-
HandSize: 6,
1022-
QueueLengthLimit: 100,
1023-
}}}},
1018+
Type: flowcontrol.LimitResponseTypeReject,
1019+
}}},
10241020
},
10251021
expectedErrors: field.ErrorList{},
10261022
},

0 commit comments

Comments
 (0)