Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit 5e7c363

Browse files
fix: step 2 of changing cache task args (#1197)
1 parent 782a1a3 commit 5e7c363

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

tasks/test_results_finisher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def old_impl(
158158
if commit.branch is not None:
159159
self.app.tasks[cache_test_rollups_task_name].apply_async(
160160
kwargs=dict(
161-
repoid=repoid,
161+
repo_id=repoid,
162162
branch=commit.branch,
163163
impl_type=impl_type,
164164
),

tasks/tests/unit/test_test_results_finisher.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ def test_upload_finisher_task_call(
379379
"app.tasks.cache_rollup.CacheTestRollupsTask"
380380
].apply_async.assert_called_with(
381381
kwargs={
382-
"repoid": repoid,
382+
"repo_id": repoid,
383383
"branch": "main",
384384
"impl_type": "both",
385385
},
@@ -512,7 +512,7 @@ def test_upload_finisher_task_call_no_failures(
512512
"app.tasks.cache_rollup.CacheTestRollupsTask"
513513
].apply_async.assert_called_with(
514514
kwargs={
515-
"repoid": repoid,
515+
"repo_id": repoid,
516516
"branch": "main",
517517
"impl_type": "old",
518518
},
@@ -611,7 +611,7 @@ def test_upload_finisher_task_call_no_success(
611611
"app.tasks.cache_rollup.CacheTestRollupsTask"
612612
].apply_async.assert_called_with(
613613
kwargs={
614-
"repoid": repoid,
614+
"repo_id": repoid,
615615
"branch": "main",
616616
"impl_type": "old",
617617
},
@@ -682,7 +682,7 @@ def test_upload_finisher_task_call_upgrade_comment(
682682
"app.tasks.cache_rollup.CacheTestRollupsTask"
683683
].apply_async.assert_called_with(
684684
kwargs={
685-
"repoid": repoid,
685+
"repo_id": repoid,
686686
"branch": "main",
687687
"impl_type": "old",
688688
},
@@ -726,7 +726,7 @@ def test_upload_finisher_task_call_existing_comment(
726726
"app.tasks.cache_rollup.CacheTestRollupsTask"
727727
].apply_async.assert_called_with(
728728
kwargs={
729-
"repoid": repoid,
729+
"repo_id": repoid,
730730
"branch": "main",
731731
"impl_type": "old",
732732
},
@@ -849,7 +849,7 @@ def test_upload_finisher_task_call_comment_fails(
849849
"app.tasks.cache_rollup.CacheTestRollupsTask"
850850
].apply_async.assert_called_with(
851851
kwargs={
852-
"repoid": repoid,
852+
"repo_id": repoid,
853853
"branch": "main",
854854
"impl_type": "old",
855855
},
@@ -927,7 +927,7 @@ def test_upload_finisher_task_call_with_flaky(
927927
"app.tasks.cache_rollup.CacheTestRollupsTask"
928928
].apply_async.assert_called_with(
929929
kwargs={
930-
"repoid": repoid,
930+
"repo_id": repoid,
931931
"branch": "main",
932932
"impl_type": "old",
933933
},
@@ -1021,7 +1021,7 @@ def test_upload_finisher_task_call_main_branch(
10211021
"app.tasks.cache_rollup.CacheTestRollupsTask"
10221022
].apply_async.assert_called_with(
10231023
kwargs={
1024-
"repoid": repoid,
1024+
"repo_id": repoid,
10251025
"branch": "main",
10261026
"impl_type": "old",
10271027
},

0 commit comments

Comments
 (0)