Skip to content

Commit

Permalink
tests: fix hanging test
Browse files Browse the repository at this point in the history
  • Loading branch information
Lancetnik committed May 9, 2024
1 parent 2ad2d1f commit afcfd78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .codespell-whitelist.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
dependant
dependant
2 changes: 2 additions & 0 deletions tests/brokers/base/consume.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,6 +246,8 @@ def subscriber(m):
timeout=self.timeout,
)

await sub.close()

assert event.is_set()


Expand Down

0 comments on commit afcfd78

Please sign in to comment.