File tree Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Expand file tree Collapse file tree 1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -216,35 +216,17 @@ func TestServerSetReadLimits(t *testing.T) {
216
216
shouldFail bool
217
217
}{
218
218
{
219
- name : "small limit with small request - should succeed" ,
219
+ name : "limit with small request - should succeed" ,
220
220
readLimit : 2048 ,
221
221
testSize : 500 , // Small request data
222
222
shouldFail : false ,
223
223
},
224
224
{
225
- name : "small limit with large request - should fail" ,
225
+ name : "limit with large request - should fail" ,
226
226
readLimit : 2048 ,
227
227
testSize : 5000 , // Large request data that should exceed limit
228
228
shouldFail : true ,
229
229
},
230
- {
231
- name : "medium limit with medium request - should succeed" ,
232
- readLimit : 10240 ,
233
- testSize : 5000 , // Medium request data
234
- shouldFail : false ,
235
- },
236
- {
237
- name : "medium limit with large request - should fail" ,
238
- readLimit : 10240 ,
239
- testSize : 20000 , // Large request data
240
- shouldFail : true ,
241
- },
242
- {
243
- name : "large limit with large request - should succeed" ,
244
- readLimit : 50000 ,
245
- testSize : 20000 , // Large request data that should fit
246
- shouldFail : false ,
247
- },
248
230
}
249
231
250
232
for _ , tc := range testCases {
You can’t perform that action at this time.
0 commit comments