Skip to content

Commit

Permalink
Disable AsyncIO tests for 23.10
Browse files Browse the repository at this point in the history
  • Loading branch information
kthui committed Oct 11, 2023
1 parent c98e5ed commit 55fae90
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions qa/L0_request_cancellation/grpc_cancellation_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion qa/L0_request_cancellation/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 55fae90

Please sign in to comment.