Skip to content

Commit

Permalink
add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
leej3 committed Apr 29, 2024
1 parent 0ff77ac commit a5bed39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ignite/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -503,4 +503,6 @@ def xla_worker(index, fn):
def pytest_collection_modifyitems(items):
for item in items:
if "distributed" in item.fixturenames:
# Run distributed tests on a single worker to avoid RACE conditions
# This requires that the --dist=loadgroup option be passed to pytest.
item.add_marker(pytest.mark.xdist_group("distributed"))
2 changes: 2 additions & 0 deletions tests/ignite/handlers/test_visdom_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
WeightsScalarHandler,
)

# Run tests on a single worker to avoid issues with connecting to the visdom
# server This requires that the --dist=loadgroup option be passed to pytest.
pytestmark = [pytest.mark.timeout(30), pytest.mark.xdist_group(name="visdom")]


Expand Down

0 comments on commit a5bed39

Please sign in to comment.