Skip to content

Commit

Permalink
pubsub test fix
Browse files Browse the repository at this point in the history
  • Loading branch information
chayim committed Nov 10, 2021
1 parent b71391c commit 139415b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_pubsub.py
Original file line number Diff line number Diff line change
Expand Up @@ -575,7 +575,8 @@ def exception_handler(ex, pubsub, thread):
class TestPubSubDeadlock:
@pytest.mark.timeout(30, method='thread')
def test_pubsub_deadlock(self, master_host):
pool = redis.ConnectionPool(host=master_host)
pool = redis.ConnectionPool(host=master_host[0],
port=master_host[1])
r = redis.Redis(connection_pool=pool)

for i in range(60):
Expand Down

0 comments on commit 139415b

Please sign in to comment.