From ab00c88a4105035cc38a6858cee2d5f900db0e50 Mon Sep 17 00:00:00 2001 From: Lidi Zheng Date: Mon, 19 Jul 2021 23:41:28 -0700 Subject: [PATCH] [Aio] Skip TestWaitForReady on Windows (#26729) * Mark TestWaitForReady as flaky * Skip wait for ready test on Windows * Bazel is not currently used for testing on Windows --- src/python/grpcio_tests/tests_aio/unit/wait_for_ready_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/grpcio_tests/tests_aio/unit/wait_for_ready_test.py b/src/python/grpcio_tests/tests_aio/unit/wait_for_ready_test.py index 5bcfd54856b..158c8e8ff16 100644 --- a/src/python/grpcio_tests/tests_aio/unit/wait_for_ready_test.py +++ b/src/python/grpcio_tests/tests_aio/unit/wait_for_ready_test.py @@ -18,6 +18,7 @@ import logging import unittest import time import gc +import platform import grpc from grpc.experimental import aio @@ -119,6 +120,8 @@ class TestWaitForReady(AioTestBase): """RPC should fail immediately after connection failed.""" await self._connection_fails_fast(False) + @unittest.skipIf(platform.system() == 'Windows', + 'https://github.com/grpc/grpc/pull/26729') async def test_call_wait_for_ready_enabled(self): """RPC will wait until the connection is ready.""" for action in _RPC_ACTIONS: