Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions src/pytest_celery/api/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@
"""
return None

@retry(

Check warning on line 101 in src/pytest_celery/api/container.py

View check run for this annotation

Codecov / codecov/patch

src/pytest_celery/api/container.py#L101

Added line #L101 was not covered by tests
stop=stop_after_attempt(3),
wait=wait_fixed(3),
retry=retry_if_exception_type(IndexError),
reraise=True,
)
def _wait_port(self, port: str) -> int:
"""Blocks until the specified port is ready.

Expand Down