Skip to content

Commit

Permalink
Hardcode non-standard ports to reduce platform-dependence
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Jan 26, 2024
1 parent 2916f74 commit ec99916
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,17 @@ def _get_random_name(length=6):
@pytest.fixture(scope="session")
def slurm_ssh_port():
"""The exposed local port for SSH connections to the Slurm container."""
yield _get_free_port()
# @ml-evs: For now just hard code uncommon ports to avoid platform-specific issues
# yield _get_free_port()
yield 2223


@pytest.fixture(scope="session")
def db_port():
"""The exposed local port for connections to the MongoDB stores."""
yield _get_free_port()
# @ml-evs: For now just hard code uncommon ports to avoid platform-specific issues
# yield _get_free_port()
yield 27019


@pytest.fixture(scope="session")
Expand Down

0 comments on commit ec99916

Please sign in to comment.