Skip to content

Commit 7a5de29

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

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/openjd/cli/test_chunked_job.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def test_openjd_run_on_chunked_job_default_options(capsys):
8484

8585
def test_openjd_run_on_chunked_job_adaptive_chunking(capsys):
8686
# Test that running chunked_job.yaml with adaptive chunking and the TargetRuntime cranked really high
87-
# resutls in two chunks, the first being one task, and the second being the remainder.
87+
# results in two chunks, the first being one task, and the second being the remainder.
8888

8989
expected_message_regex_list = [
9090
r"Item\(CHUNK\[INT\]\) = 1$",
@@ -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)