Skip to content

Commit 9cfdd83

Browse files
committed
Fix CI tests
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 572db25 commit 9cfdd83

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

vulnerabilities/tests/pipelines/v2_improvers/test_mark_all_impacts_unfurled.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)