File tree Expand file tree Collapse file tree
vulnerabilities/tests/pipelines/v2_improvers Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -171,7 +171,7 @@ def test_attempted_advisories_are_chunked_in_batches_of_100(
171171
172172 advisories = []
173173
174- for i in range (250 ):
174+ for i in range (2500 ):
175175 adv = AdvisoryV2 .objects .create (
176176 datasource_id = "ghsa" ,
177177 advisory_id = str (i ),
@@ -205,9 +205,9 @@ def test_attempted_advisories_are_chunked_in_batches_of_100(
205205 second_call_ids = mock_complete_advisories_import .call_args_list [1 ][1 ]["advisory_ids" ]
206206 third_call_ids = mock_complete_advisories_import .call_args_list [2 ][1 ]["advisory_ids" ]
207207
208- assert len (first_call_ids ) == 100
209- assert len (second_call_ids ) == 100
210- assert len (third_call_ids ) == 50
208+ assert len (first_call_ids ) == 1000
209+ assert len (second_call_ids ) == 1000
210+ assert len (third_call_ids ) == 500
211211
212212
213213@pytest .mark .django_db
You can’t perform that action at this time.
0 commit comments