diff --git a/tasks/test_results_finisher.py b/tasks/test_results_finisher.py index 141d1232f..c7cac8971 100644 --- a/tasks/test_results_finisher.py +++ b/tasks/test_results_finisher.py @@ -159,7 +159,7 @@ def old_impl( if commit.branch is not None: self.app.tasks[cache_test_rollups_task_name].apply_async( kwargs=dict( - repoid=repoid, + repo_id=repoid, branch=commit.branch, impl_type=impl_type, ), diff --git a/tasks/tests/unit/test_test_results_finisher.py b/tasks/tests/unit/test_test_results_finisher.py index 5667fd675..d161f9f46 100644 --- a/tasks/tests/unit/test_test_results_finisher.py +++ b/tasks/tests/unit/test_test_results_finisher.py @@ -379,7 +379,7 @@ def test_upload_finisher_task_call( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "both", }, @@ -512,7 +512,7 @@ def test_upload_finisher_task_call_no_failures( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -611,7 +611,7 @@ def test_upload_finisher_task_call_no_success( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -682,7 +682,7 @@ def test_upload_finisher_task_call_upgrade_comment( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -726,7 +726,7 @@ def test_upload_finisher_task_call_existing_comment( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -849,7 +849,7 @@ def test_upload_finisher_task_call_comment_fails( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -927,7 +927,7 @@ def test_upload_finisher_task_call_with_flaky( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", }, @@ -1022,7 +1022,7 @@ def test_upload_finisher_task_call_main_branch( "app.tasks.cache_rollup.CacheTestRollupsTask" ].apply_async.assert_called_with( kwargs={ - "repoid": repoid, + "repo_id": repoid, "branch": "main", "impl_type": "old", },