Open
Description
Bug Report
YDB Python version: 2.12.1
Environment macos
Current behavior: wait until timeout if error in database name/endpoint/token and fail with timeout error
Expected behavior: fail with real error (for example bad auth), may be with faster fail.
Steps to reproduce:
import ydb
token = "..."
endpoint = "..."
database = "..."
DRIVER = ydb.Driver(
endpoint=endpoint,
database=database,
credentials=ydb.credentials.AuthTokenCredentials(token)
)
DRIVER.wait(10)
print(1)