Skip to content

Commit

Permalink
Increased pubsub's wait_for_messages timeout to prevent flaky tests
Browse files Browse the repository at this point in the history
  • Loading branch information
barshaul committed Jan 23, 2022
1 parent 7d23974 commit 49c612e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_pubsub.py
Expand Up @@ -12,7 +12,7 @@
from .conftest import _get_client, skip_if_redis_enterprise, skip_if_server_version_lt


def wait_for_message(pubsub, timeout=0.1, ignore_subscribe_messages=False):
def wait_for_message(pubsub, timeout=0.5, ignore_subscribe_messages=False):
now = time.time()
timeout = now + timeout
while now < timeout:
Expand Down

0 comments on commit 49c612e

Please sign in to comment.