Make none graceful test explicit

pull/21819/head
Pau Freixes 5 years ago
parent 5959b685e8
commit 61177a2cd8
  1. 2
      src/python/grpcio_tests/tests_aio/unit/close_channel_test.py

@ -101,7 +101,7 @@ class TestCloseChannel(AioTestBase):
call = UnaryCallWithSleep(messages_pb2.SimpleRequest())
task = asyncio.ensure_future(call)
await channel.close(grace=UNARY_CALL_WITH_SLEEP_VALUE / 2)
await channel.close(None)
self.assertEqual(grpc.StatusCode.CANCELLED, await call.code())

Loading…
Cancel
Save