diff options
author | Олег <150132506+iddqdex@users.noreply.github.com> | 2024-12-18 11:25:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-12-18 08:25:02 +0000 |
commit | 945fa6e4400d3d0bee0de5c51a23e6896c071370 (patch) | |
tree | 243cd0cb1fd693b2bffb40b50189184b89690e3b | |
parent | de64fffc83cd9b22b8ff4ea8ae2ab0d0a3240997 (diff) | |
download | ydb-945fa6e4400d3d0bee0de5c51a23e6896c071370.tar.gz |
reuse YdbCluster.reset (#12698)
-rw-r--r-- | ydb/tests/functional/tpc/conftest.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/ydb/tests/functional/tpc/conftest.py b/ydb/tests/functional/tpc/conftest.py index 07620b43dab..403f8e12193 100644 --- a/ydb/tests/functional/tpc/conftest.py +++ b/ydb/tests/functional/tpc/conftest.py @@ -17,9 +17,11 @@ class FunctionalTestBase: )) cls.cluster.start() node = cls.cluster.nodes[1] - YdbCluster.ydb_endpoint = f'grpc://{node.host}:{node.grpc_port}' - YdbCluster.ydb_database = f'{cls.cluster.domain_name}/test_db' - YdbCluster.ydb_mon_port = node.mon_port + YdbCluster.reset( + ydb_endpoint=f'grpc://{node.host}:{node.grpc_port}', + ydb_database=f'{cls.cluster.domain_name}/test_db', + ydb_mon_port=node.mon_port + ) db = f'/{YdbCluster.ydb_database}' cls.cluster.create_database( db, |