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 committed May 17, 2024
1 parent 6d5c8b7 commit 9ec6010
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 9ec6010

Please sign in to comment.