Skip to content

Commit 4c7fef2

Browse files
committed
test: Reduce --maximum-tasks value in test to improve reliability
Signed-off-by: Mark Wiebe <[email protected]>
1 parent 664d008 commit 4c7fef2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/openjd/cli/test_chunked_job.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ def test_openjd_run_on_chunked_job_maximum_task_count(capsys, target_runtime):
119119
# Runs with TargetRuntime=0 (fixed chunk size) and TargetRuntime=1 (adaptive chunk size) to
120120
# exercise both task running inner loops.
121121
expected_message_regex_list = [
122-
"Chunks run: 5$",
122+
"Chunks run: 3$",
123123
]
124124

125125
outerr = run_openjd_cli_main(
@@ -134,7 +134,7 @@ def test_openjd_run_on_chunked_job_maximum_task_count(capsys, target_runtime):
134134
"-p",
135135
f"TargetRuntime={target_runtime}",
136136
"--maximum-tasks",
137-
"5",
137+
"3",
138138
],
139139
expected_exit_code=0,
140140
)

0 commit comments

Comments
 (0)