Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.

Commit 9b247cd

Browse files
committed
Force update metadata on Kafka test
1 parent ccd476e commit 9b247cd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/test_broadcast.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,11 @@ async def test_postgres():
3535
assert event.message == "hello"
3636

3737

38-
@pytest.mark.skip("Deadlock on `next_published`")
3938
@pytest.mark.asyncio
4039
async def test_kafka():
4140
async with Broadcast("kafka://localhost:9092") as broadcast:
4241
async with broadcast.subscribe("chatroom") as subscriber:
42+
await broadcast._backend._consumer._client.force_metadata_update() # type: ignore
4343
await broadcast.publish("chatroom", "hello")
4444
event = await subscriber.get()
4545
assert event.channel == "chatroom"

0 commit comments

Comments
 (0)