Skip to content

Commit

Permalink
fixes the comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Konoval committed Sep 9, 2024
1 parent bbf1973 commit b776200
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pgpubsub/tests/test_core.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,8 @@ def test_author_bulk_insert_notify(pg_connection):
with atomic():
authors = Author.objects.bulk_create(authors)

# this poll is needed to workaround the bug in psycop2
# https://github.com/psycopg/psycopg2/issues/1727
pg_connection.poll()
assert 2 == len(pg_connection.notifies)
assert not Post.objects.exists()
Expand Down

0 comments on commit b776200

Please sign in to comment.