Skip to content

Commit a984f95

Browse files
authored
exp run: jobs should default to 1 (#5785)
1 parent 02d9684 commit a984f95

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

dvc/command/experiments.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1213,6 +1213,7 @@ def _add_run_common(parser):
12131213
"-j",
12141214
"--jobs",
12151215
type=int,
1216+
default=1,
12161217
help="Run the specified number of experiments at a time in parallel.",
12171218
metavar="<number>",
12181219
)

tests/unit/command/test_experiments.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ def test_experiments_run(dvc, scm, mocker):
9393
"name": None,
9494
"queue": False,
9595
"run_all": False,
96-
"jobs": None,
96+
"jobs": 1,
9797
"tmp_dir": False,
9898
"checkpoint_resume": None,
9999
"reset": False,

0 commit comments

Comments
 (0)