From ef5bff7fd8b00bfdc6e5d2b20ae74f299339dfbe Mon Sep 17 00:00:00 2001 From: Chen Shen Date: Wed, 19 Apr 2023 05:30:43 -0700 Subject: [PATCH] [Core][easy] disable test not suppose to work with ray client #34556 this env doesn't work with ray client. --- python/ray/tests/test_basic_5.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/python/ray/tests/test_basic_5.py b/python/ray/tests/test_basic_5.py index 20aee63e2983..0d88f03ce0b5 100644 --- a/python/ray/tests/test_basic_5.py +++ b/python/ray/tests/test_basic_5.py @@ -15,6 +15,7 @@ from ray._private.test_utils import ( run_string_as_driver, wait_for_pid_to_exit, + client_test_enabled, ) logger = logging.getLogger(__name__) @@ -362,6 +363,7 @@ def verify_imports(latch): ray.get(futures) +@pytest.mark.skipif(client_test_enabled(), reason="only server mode") def test_gcs_port_env(): try: with unittest.mock.patch.dict(os.environ):