You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When running tests for async streaming under pytest, I get the following gRPC error:
async for response in stream:
File "/Users/mike/.pyenv/versions/3.11.9/envs/global-3.11/lib/python3.11/site-packages/google/api_core/grpc_helpers_async.py", line 109, in _wrapped_aiter
raise exceptions.from_grpc_error(rpc_error) from rpc_error
google.api_core.exceptions.InternalServerError: 500 Internal error from Core
In some cases, the PubSub emulator gets a NullPointerException as well, but its a little more difficult to reproduce.
When running tests for async streaming under pytest, I get the following gRPC error:
In some cases, the PubSub emulator gets a
NullPointerException
as well, but its a little more difficult to reproduce.Environment details
Python 3.11.9
pip 24.1.1
google-cloud-pubsub
version:Steps to reproduce
Code example
Running the following code will fail with and RPC error
500 Internal error from Core
when run using pytest:So it fails with:
But it passes with:
Given there is an RPC error, I wanted to open here, but I plan to open an issue with
pytest-asyncio
as well.The text was updated successfully, but these errors were encountered: