We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce631db commit 96ed1efCopy full SHA for 96ed1ef
tests/conftest.py
@@ -3,6 +3,7 @@
3
from asyncio import AbstractEventLoop
4
from collections.abc import AsyncGenerator
5
from collections.abc import Generator
6
+from concurrent.futures import TimeoutError
7
from typing import Any
8
from typing import Callable
9
@@ -60,7 +61,7 @@ def get_ydb_host(self) -> str:
60
61
def get_ydb_port(self) -> str:
62
return self.get_exposed_port(self.port_to_expose)
63
- @wait_container_is_ready(ydb.ConnectionError)
64
+ @wait_container_is_ready(ydb.ConnectionError, TimeoutError)
65
def _connect(self) -> None:
66
with ydb.Driver(
67
connection_string=self.get_connection_string()
0 commit comments