Skip to content

Commit 139415b

Browse files
committed
pubsub test fix
1 parent b71391c commit 139415b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/test_pubsub.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,8 @@ def exception_handler(ex, pubsub, thread):
575575
class TestPubSubDeadlock:
576576
@pytest.mark.timeout(30, method='thread')
577577
def test_pubsub_deadlock(self, master_host):
578-
pool = redis.ConnectionPool(host=master_host)
578+
pool = redis.ConnectionPool(host=master_host[0],
579+
port=master_host[1])
579580
r = redis.Redis(connection_pool=pool)
580581

581582
for i in range(60):

0 commit comments

Comments
 (0)