Skip to content

Commit

Permalink
fix(fw): fix extending pytest args when adding hive parallelism (#565)
Browse files Browse the repository at this point in the history
  • Loading branch information
danceratopz authored and spencer-tb committed May 17, 2024
1 parent 4f276cc commit 5ac2cf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli/pytest_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def get_hive_flags_from_env():
pytest_args = []
xdist_workers = os.getenv("HIVE_PARALLELISM")
if xdist_workers is not None:
pytest_args.extend("-n", xdist_workers)
pytest_args.extend(["-n", xdist_workers])
test_pattern = os.getenv("HIVE_TEST_PATTERN")
if test_pattern is not None:
# TODO: Check that the regex is a valid pytest -k "test expression"
Expand Down

0 comments on commit 5ac2cf4

Please sign in to comment.