From 55fae90d2af0936f93e8601f371136b8c1ebdcb4 Mon Sep 17 00:00:00 2001 From: kthui <18255193+kthui@users.noreply.github.com> Date: Wed, 11 Oct 2023 10:25:38 -0700 Subject: [PATCH] Disable AsyncIO tests for 23.10 --- qa/L0_request_cancellation/grpc_cancellation_test.py | 2 ++ qa/L0_request_cancellation/test.sh | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/qa/L0_request_cancellation/grpc_cancellation_test.py b/qa/L0_request_cancellation/grpc_cancellation_test.py index 5be82141a01..b2c021fdd85 100755 --- a/qa/L0_request_cancellation/grpc_cancellation_test.py +++ b/qa/L0_request_cancellation/grpc_cancellation_test.py @@ -114,6 +114,7 @@ def test_grpc_stream_infer(self): self._client.stop_stream(cancel_requests=True) self._assert_callback_cancelled() + @unittest.skip("Disabled for 23.10 release") async def test_aio_grpc_async_infer(self): infer_task = asyncio.create_task( self._client_aio.infer( @@ -125,6 +126,7 @@ async def test_aio_grpc_async_infer(self): with self.assertRaises(asyncio.CancelledError): await infer_task + @unittest.skip("Disabled for 23.10 release") async def test_aio_grpc_stream_infer(self): async def requests_generator(): yield { diff --git a/qa/L0_request_cancellation/test.sh b/qa/L0_request_cancellation/test.sh index 23917ec16f5..bc36625bce5 100755 --- a/qa/L0_request_cancellation/test.sh +++ b/qa/L0_request_cancellation/test.sh @@ -78,7 +78,7 @@ mkdir -p models/custom_identity_int32/1 && (cd models/custom_identity_int32 && \ echo 'instance_group [{ kind: KIND_CPU }]' >> config.pbtxt && \ echo -e 'parameters [{ key: "execute_delay_ms" \n value: { string_value: "10000" } }]' >> config.pbtxt) -for TEST_CASE in "test_grpc_async_infer" "test_grpc_stream_infer" "test_aio_grpc_async_infer" "test_aio_grpc_stream_infer"; do +for TEST_CASE in "test_grpc_async_infer" "test_grpc_stream_infer"; do TEST_LOG="./grpc_cancellation_test.$TEST_CASE.log" SERVER_LOG="grpc_cancellation_test.$TEST_CASE.server.log"