-
Notifications
You must be signed in to change notification settings - Fork 65
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Bug Report
YDB GO Python version: 3.10
Environment: v3
Current behavior: Test passed with following warnings:
.tox/py/lib/python3.10/site-packages/_pytest/config/__init__.py:1233
/home/waleriya/ydb/ydb-python-sdk/.tox/py/lib/python3.10/site-packages/_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: asyncio_mode
self._warn_or_fail_if_strict(f"Unknown config option: {key}\n")
ydb/_topic_writer/topic_writer_asyncio_test.py::TestWriterAsyncIOReconnector::test_encode_data_inplace[2-datas1]
/home/waleriya/ydb/ydb-python-sdk/.tox/py/lib/python3.10/site-packages/_pytest/unraisableexception.py:78: PytestUnraisableExceptionWarning: Exception ignored in: <coroutine object WriterAsyncIOReconnector._read_loop at 0x7fae28d0f300>
Traceback (most recent call last):
File "/usr/lib/python3.10/asyncio/queues.py", line 159, in get
await getter
GeneratorExit
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/waleriya/ydb/ydb-python-sdk/ydb/_topic_writer/topic_writer_asyncio.py", line 520, in _read_loop
resp = await writer.receive()
File "/home/waleriya/ydb/ydb-python-sdk/ydb/_topic_writer/topic_writer_asyncio_test.py", line 184, in receive
item = await self.from_server.get()
File "/usr/lib/python3.10/asyncio/queues.py", line 161, in get
getter.cancel() # Just in case getter is not done yet.
File "/usr/lib/python3.10/asyncio/base_events.py", line 750, in call_soon
self._check_closed()
File "/usr/lib/python3.10/asyncio/base_events.py", line 515, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed
warnings.warn(pytest.PytestUnraisableExceptionWarning(msg))
-- Docs: https://docs.pytest.org/en/stable/warnings.html
Expected behavior: Tests passed without warnings
Steps to reproduce: run local tests, for example: $ tox -e py -- ydb/_topic_writer/
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working