We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccd476e commit 9b247cdCopy full SHA for 9b247cd
1 file changed
tests/test_broadcast.py
@@ -35,11 +35,11 @@ async def test_postgres():
35
assert event.message == "hello"
36
37
38
-@pytest.mark.skip("Deadlock on `next_published`")
39
@pytest.mark.asyncio
40
async def test_kafka():
41
async with Broadcast("kafka://localhost:9092") as broadcast:
42
async with broadcast.subscribe("chatroom") as subscriber:
+ await broadcast._backend._consumer._client.force_metadata_update() # type: ignore
43
await broadcast.publish("chatroom", "hello")
44
event = await subscriber.get()
45
assert event.channel == "chatroom"
0 commit comments