aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorОлег <150132506+iddqdex@users.noreply.github.com>2024-12-18 11:25:02 +0300
committerGitHub <noreply@github.com>2024-12-18 08:25:02 +0000
commit945fa6e4400d3d0bee0de5c51a23e6896c071370 (patch)
tree243cd0cb1fd693b2bffb40b50189184b89690e3b
parentde64fffc83cd9b22b8ff4ea8ae2ab0d0a3240997 (diff)
downloadydb-945fa6e4400d3d0bee0de5c51a23e6896c071370.tar.gz
reuse YdbCluster.reset (#12698)
-rw-r--r--ydb/tests/functional/tpc/conftest.py8
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,