File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 9090 'delay_between' : 7.0 , # 9 requests in ~63 seconds (just under 10/60s limit)
9191 'should_succeed' : True ,
9292 },
93- # {
94- # 'name': 'Burst detection - collinfo',
95- # 'description': 'Tests if legitimate burst triggers ban on collinfo endpoint',
96- # 'requests': [{'url': f'{API_BASE}/collinfo.json', 'params': {}} for _ in range(3)],
97- # 'delay_between': 4.0, # 3 requests over 8 seconds (WILL trigger ban at 3/10s)
98- # 'should_succeed': False, # This SHOULD get banned
99- # },
93+ {
94+ 'name' : 'Burst detection - collinfo' ,
95+ 'description' : 'Tests if legitimate burst triggers ban on collinfo endpoint' ,
96+ 'requests' : [{'url' : f'{ API_BASE } /collinfo.json' , 'params' : {}} for _ in range (3 )],
97+ 'delay_between' : 4.0 , # 3 requests over 8 seconds (WILL trigger ban at 3/10s)
98+ 'should_succeed' : False , # This SHOULD get banned
99+ },
100100]
101101
102102
You can’t perform that action at this time.
0 commit comments