Iurii Gerzhedovich created IGNITE-26715:
-------------------------------------------
Summary: Flaky Python tests.test_ssl tests
Key: IGNITE-26715
URL: https://issues.apache.org/jira/browse/IGNITE-26715
Project: Ignite
Issue Type: Improvement
Components: platforms ai3
Reporter: Iurii Gerzhedovich
The tests [tests.test_ssl.test_fetch_table_several_pages(address1) and
tests.test_ssl.test_fetch_table_several_pages(address1)_teardown|https://ci.ignite.apache.org/buildConfiguration/ApacheIgnite3xGradle_Test_RunAllTests/9548003]
is flaky
{code:java}
tests/test_ssl.py:100 (test_fetch_table_several_pages[address1])table_name =
'test_fetch_table_several_pages', address =
['127.0.0.1:10945']drop_table_cleanup = None
@pytest.mark.parametrize("address", [server_addresses_ssl_basic,
server_addresses_ssl_client_auth]) def
test_fetch_table_several_pages(table_name, address, drop_table_cleanup):
ssl_cfg = create_ssl_param(True, 'client.pem', 'client.pem', 'ca.pem')
with pyignite_dbapi.connect(address=address, timeout=10, **ssl_cfg) as
connection: with connection.cursor() as cursor:
rows_num = 345> create_and_populate_test_table(cursor, rows_num,
table_name, 1000)tests/test_ssl.py:107:_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _tests/util.py:173: in
create_and_populate_test_table cursor.executemany(f"insert into {table_name}
values(?, ?, ?)",_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
_ _ _ _ _ _ _ _ _self = <pyignite_dbapi.Cursor object at 0x7fe34e486640>query =
'insert into test_fetch_table_several_pages values(?, ?, ?)'params_list = [(0,
'Value-0', 0.0), (1, 'Value-2', 0.5), (2, 'Value-4', 1.0), (3, 'Value-6', 1.5),
(4, 'Value-8', 2.0), (5, 'Value-10', 2.5), ...] def executemany(self, query:
str, params_list: List[Sequence[Any]]): if self._py_cursor is None:
raise InterfaceError('Cursor is already closed')>
self._py_cursor.executemany(query, params_list)E
pyignite_dbapi.OperationalError: Can not receive a message from the server due
to operation timed outpyignite_dbapi/__init__.py:451: OperationalError {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)