Skip to content
This repository was archived by the owner on Aug 19, 2025. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ wheel==0.37.1
autoflake==1.4
black==22.6.0
coverage==6.4.4
importlib-metadata==4.13.0
flake8==3.9.2
flake8-bugbear==22.7.1
flake8-pie==0.16.0
Expand Down
2 changes: 1 addition & 1 deletion tests/test_broadcast.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ async def test_postgres():
assert event.message == "hello"


@pytest.mark.skip("Deadlock on `next_published`")
@pytest.mark.asyncio
async def test_kafka():
async with Broadcast("kafka://localhost:9092") as broadcast:
async with broadcast.subscribe("chatroom") as subscriber:
await broadcast._backend._consumer._client.force_metadata_update() # type: ignore
await broadcast.publish("chatroom", "hello")
event = await subscriber.get()
assert event.channel == "chatroom"
Expand Down