diff options
author | Chayim I. Kirshen <c@kirshen.com> | 2021-11-10 15:36:48 +0200 |
---|---|---|
committer | Chayim I. Kirshen <c@kirshen.com> | 2021-11-10 15:36:48 +0200 |
commit | 139415b7c823aaeb3b70fd7e639fa1d7a51fc760 (patch) | |
tree | a9c6d6c49b67211f115c40cb4ca67ab40d84d99a | |
parent | b71391cb21d8e49dded94c682fa9972a35d897d0 (diff) | |
download | redis-py-139415b7c823aaeb3b70fd7e639fa1d7a51fc760.tar.gz |
pubsub test fix
-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): |