Skip to content

Commit 9f4bf4b

Browse files
authored
Increased pubsub's wait_for_messages timeout to prevent flaky tests (#1893)
1 parent 0392576 commit 9f4bf4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pubsub.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from .conftest import _get_client, skip_if_redis_enterprise, skip_if_server_version_lt
1313

1414

15-
def wait_for_message(pubsub, timeout=0.1, ignore_subscribe_messages=False):
15+
def wait_for_message(pubsub, timeout=0.5, ignore_subscribe_messages=False):
1616
now = time.time()
1717
timeout = now + timeout
1818
while now < timeout:

0 commit comments

Comments
 (0)