exp run --run-all: re-enable --jobs concurrency (#8608)

* re-enable --jobs concurrency

* use `start_workers` instead of `spawn_worker`

* make `spawn_worker` a private method.

* update tests: make `spawn_worker` a private method.
This commit is contained in:
Fabian Zills
2022-12-26 16:49:46 +09:00
committed by GitHub
parent b13184fcec
commit 28848c5407
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -114,7 +114,7 @@ def test_experiments_start(dvc, scm, mocker):
cmd = cli_args.func(cli_args)
m = mocker.patch(
"dvc.repo.experiments.queue.celery.LocalCeleryQueue.spawn_worker",
"dvc.repo.experiments.queue.celery.LocalCeleryQueue._spawn_worker",
)
assert cmd.run() == 0