From 299a9b38ae28b8fc0b50bea0b76fa27794e509ae Mon Sep 17 00:00:00 2001 From: Pau Freixes Date: Tue, 14 Jan 2020 16:21:33 +0100 Subject: [PATCH] Skip time out test for windows environments --- src/python/grpcio_tests/tests_aio/unit/channel_test.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/python/grpcio_tests/tests_aio/unit/channel_test.py b/src/python/grpcio_tests/tests_aio/unit/channel_test.py index 3a17b045c8b..6397d69dd13 100644 --- a/src/python/grpcio_tests/tests_aio/unit/channel_test.py +++ b/src/python/grpcio_tests/tests_aio/unit/channel_test.py @@ -14,6 +14,7 @@ """Tests behavior of the grpc.aio.Channel class.""" import logging +import os import threading import unittest @@ -82,6 +83,8 @@ class TestChannel(AioTestBase): self.assertIsNotNone( exception_context.exception.trailing_metadata()) + @unittest.skipIf(os.name == 'nt', + 'TODO: https://github.com/grpc/grpc/issues/21658') async def test_unary_call_does_not_times_out(self): async with aio.insecure_channel(self._server_target) as channel: hi = channel.unary_unary(