Skip to content

test runner: concurrency boolean flag #43837

Closed
@MoLow

Description

@MoLow

following up the discussion in #43757
if we want to allow the concurrency option to be a boolean, we need to come up with good defaults

there are two levels of concurrency:

  1. when running multiple test files, using --test each file is spawned in its own process so we use os.cpus().length as the default
  2. inside a test file - we use 1 as the default wich will be equivalent to false

Assuming we want to allow passing concurrency: true in a test file - what number would that convert to?

Metadata

Metadata

Assignees

Labels

good first issueIssues that are suitable for first-time contributors.test_runnerIssues and PRs related to the test runner subsystem.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions