diff options
Diffstat (limited to 'tests/test_pubsub.py')
-rw-r--r-- | tests/test_pubsub.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/test_pubsub.py b/tests/test_pubsub.py index 4be6c7a..cfc6e5e 100644 --- a/tests/test_pubsub.py +++ b/tests/test_pubsub.py @@ -575,7 +575,8 @@ class TestPubSubWorkerThread: 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): |