Skip to content

Commit 1103bd1

Browse files
Skip multiplex metrics and proxy status code is error tests on windows (#51645)
Flaky on windows Signed-off-by: akyang-anyscale <alexyang@anyscale.com>
1 parent 68399a5 commit 1103bd1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

python/ray/serve/tests/test_metrics.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,7 @@ def f(*args):
587587
print("serve_grpc_request_latency_ms_sum working as expected.")
588588

589589

590+
@pytest.mark.skipif(sys.platform == "win32", reason="Flaky on Windows")
590591
def test_proxy_metrics_http_status_code_is_error(serve_start_shutdown):
591592
"""Verify that 2xx and 3xx status codes aren't errors, others are."""
592593

@@ -1387,6 +1388,7 @@ async def __call__(self):
13871388
self.verify_metrics(histogram_metrics[0], expected_metrics)
13881389

13891390

1391+
@pytest.mark.skipif(sys.platform == "win32", reason="Flaky on Windows")
13901392
def test_multiplexed_metrics(serve_start_shutdown):
13911393
"""Tests multiplexed API corresponding metrics."""
13921394

0 commit comments

Comments
 (0)