Skip to content

bug: Driver with bad endpoint hung up on stop #308

Open
@rekby

Description

@rekby

Bug Report

YDB Python SDK version: 3.3.4

Current behavior: code not completed

Expected behavior: stop test

Steps to reproduce:

import ydb.aio
import asyncio


async def main():
    driver = ydb.aio.Driver(database="/NonExistentDatabase", endpoint="localhost:42")
    try:
        await driver.wait(timeout=1)
    except Exception:
        pass
    await driver.stop()


def test():
    asyncio.run(main())
python3 -m pytest tmp.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions