Skip to content

Commit

Permalink
allow localhost in test
Browse files Browse the repository at this point in the history
  • Loading branch information
LeiGlobus committed Nov 21, 2024
1 parent 861dda8 commit 5d077a1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compute_endpoint/tests/unit/test_bad_endpoint_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
_MOCK_BASE = "globus_compute_endpoint.engines.high_throughput.engine."


@pytest.mark.parametrize("address", ("localhost", "login1.theta.alcf.anl.gov", "*"))
@pytest.mark.parametrize("address", ("example.com", "login1.theta.alcf.anl.gov", "*"))
def test_invalid_address(address, htex_warns):
with mock.patch(f"{_MOCK_BASE}log") as mock_log:
with pytest.raises(ValueError):
Expand Down
2 changes: 1 addition & 1 deletion docs/changelog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ New Functionality
.. code-block:: python
engine = GlobusComputeEngine(
address="localhost",
address="127.0.0.1",
heartbeat_period_s=1,
heartbeat_threshold=1,
provider=LocalProvider(
Expand Down

0 comments on commit 5d077a1

Please sign in to comment.