Skip to content

Commit

Permalink
set default worker to gw0
Browse files Browse the repository at this point in the history
  • Loading branch information
dangunter committed Aug 6, 2024
1 parent 3c1ba80 commit 9f2d61b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion idaes_examples/notebooks/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@


def is_master():
worker = os.environ.get("PYTEST_XDIST_WORKER", "gw?")
worker = os.environ.get("PYTEST_XDIST_WORKER", "gw0")
print(f"Worker = {worker}")
return worker == "gw0"


Expand Down

0 comments on commit 9f2d61b

Please sign in to comment.