Skip to content

Commit

Permalink
Merge pull request #394 from pehala/rlp_sleep
Browse files Browse the repository at this point in the history
Reintroduce sleep into RLP wait
  • Loading branch information
pehala authored May 14, 2024
2 parents 4e7c20e + 4b770f6 commit 17278b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions testsuite/policy/rate_limit_policy.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
"""RateLimitPolicy related objects"""

import time
from dataclasses import dataclass
from typing import Iterable, Literal, Optional, List

Expand Down Expand Up @@ -85,3 +86,5 @@ def wait_for_ready(self):
tolerate_failures=5,
)
assert success, f"{self.kind()} did not get ready in time"
# Even after enforced condition RLP requires a short sleep
time.sleep(5)

0 comments on commit 17278b0

Please sign in to comment.