Skip to content

Commit 8132878

Browse files
committed
multiproc async
Signed-off-by: Sidhant Kohli <sidhant.kohli@gmail.com>
1 parent e97f870 commit 8132878

1 file changed

Lines changed: 1 addition & 6 deletions

File tree

tests/source/test_async_source_err.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
from grpc.aio._server import Server
1010

1111
from pynumaflow import setup_logging
12-
from pynumaflow._constants import ERR_UDF_EXCEPTION_STRING
1312
from pynumaflow.sourcer import SourceAsyncServer
1413
from pynumaflow.proto.sourcer import source_pb2_grpc
1514
from google.protobuf import empty_pb2 as _empty_pb2
@@ -93,11 +92,7 @@ def test_read_error(self) -> None:
9392
for _ in generator_response:
9493
pass
9594
except BaseException as e:
96-
self.assertTrue(
97-
f"{ERR_UDF_EXCEPTION_STRING}: TypeError("
98-
'"handle_async_error() missing 1 required positional argument: '
99-
"'exception_type'\")" in e.__str__()
100-
)
95+
self.assertTrue("Got a runtime error from read handler" in e.__str__())
10196
return
10297
except grpc.RpcError as e:
10398
grpc_exception = e

0 commit comments

Comments
 (0)