Skip to content

Commit

Permalink
[Core][easy] disable test not suppose to work with ray client ray-pro…
Browse files Browse the repository at this point in the history
…ject#34556

this env doesn't work with ray client.

Signed-off-by: Jack He <[email protected]>
  • Loading branch information
scv119 authored and ProjectsByJackHe committed May 4, 2023
1 parent 4c181e9 commit 1e4fb41
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python/ray/tests/test_basic_5.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__)
Expand Down Expand Up @@ -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):
Expand Down

0 comments on commit 1e4fb41

Please sign in to comment.