Skip to content

Commit 49c612e

Browse files
committed
Increased pubsub's wait_for_messages timeout to prevent flaky tests
1 parent 7d23974 commit 49c612e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_pubsub.py

+1-1
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)