Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Un-break CI.

Signed-off-by: Stephanie Wang <[email protected]>
  • Loading branch information
stephanie-wang committed Dec 13, 2023
1 parent b3b79d2 commit 0b0431c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/ray/tests/test_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
logger = logging.getLogger(__name__)


@pytest.mark.skipif(sys.platform == "win32", reason="Requires POSIX.")
@pytest.mark.skipif(sys.platform != "linux", reason="Requires Linux.")
def test_put_local_get(ray_start_regular):
chan = ray_channel.Channel(1000)

Expand All @@ -29,7 +29,7 @@ def test_put_local_get(ray_start_regular):
chan.end_read()


@pytest.mark.skipif(sys.platform == "win32", reason="Requires POSIX.")
@pytest.mark.skipif(sys.platform != "linux", reason="Requires Linux.")
def test_errors(ray_start_regular):
@ray.remote
class Actor:
Expand Down Expand Up @@ -74,7 +74,7 @@ def read(self, chan):
assert "ray.exceptions.RaySystemError" in str(exc_info.value)


@pytest.mark.skipif(sys.platform == "win32", reason="Requires POSIX.")
@pytest.mark.skipif(sys.platform != "linux", reason="Requires Linux.")
def test_put_different_meta(ray_start_regular):
chan = ray_channel.Channel(1000)

Expand All @@ -100,7 +100,7 @@ def _test(val):
_test(np.random.rand(1))


@pytest.mark.skipif(sys.platform == "win32", reason="Requires POSIX.")
@pytest.mark.skipif(sys.platform != "linux", reason="Requires Linux.")
@pytest.mark.parametrize("num_readers", [1, 4])
def test_put_remote_get(ray_start_regular, num_readers):
chan = ray_channel.Channel(1000)
Expand Down

0 comments on commit 0b0431c

Please sign in to comment.