Skip to content

Commit

Permalink
[serve] Deflake test_websockets.py (ray-project#39314)
Browse files Browse the repository at this point in the history
Skips test on Python 3.7 due to compat issue
  • Loading branch information
edoakes authored Sep 6, 2023
1 parent 443cd8d commit e31e34d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions python/ray/serve/tests/test_websockets.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,10 @@ async def ws_handler(self, ws: WebSocket):
not RAY_SERVE_ENABLE_EXPERIMENTAL_STREAMING,
reason="Streaming feature flag is disabled.",
)
@pytest.mark.skipif(
sys.version_info.major >= 3 and sys.version_info.minor <= 7,
reason="Different disconnect behavior on 3.7.",
)
def test_client_disconnect(serve_instance):
app = FastAPI()

Expand Down

0 comments on commit e31e34d

Please sign in to comment.