From 5d077a1347a6fda8c574f9711c55b7127aa9d93e Mon Sep 17 00:00:00 2001 From: Lei Wang Date: Tue, 19 Nov 2024 18:58:10 -0500 Subject: [PATCH] allow localhost in test --- compute_endpoint/tests/unit/test_bad_endpoint_config.py | 2 +- docs/changelog.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/compute_endpoint/tests/unit/test_bad_endpoint_config.py b/compute_endpoint/tests/unit/test_bad_endpoint_config.py index ae73bcce6..6c8656366 100644 --- a/compute_endpoint/tests/unit/test_bad_endpoint_config.py +++ b/compute_endpoint/tests/unit/test_bad_endpoint_config.py @@ -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): diff --git a/docs/changelog.rst b/docs/changelog.rst index 1c78d04d2..4a5d5d0b2 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -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(