Skip to content

Commit a410ecb

Browse files
committed
fix bugs
1 parent 6c25cb9 commit a410ecb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ydb/tests/olap/ttl_tiering/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _setup_ydb(cls):
128128
cls.cluster = KiKiMR(config)
129129
cls.cluster.start()
130130
node = cls.cluster.nodes[1]
131-
cls.ydb_client = YdbClient(database=config.domain_name, endpoint=f"grpc://{node.host}:{node.port}")
131+
cls.ydb_client = YdbClient(database=f"/{config.domain_name}", endpoint=f"grpc://{node.host}:{node.port}")
132132
cls.ydb_client.wait_connection()
133133

134134
@classmethod

ydb/tests/olap/ttl_tiering/ttl_delete_s3.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def data_deleted_from_buckets():
155155
cold_bucket_stat = self.s3_client.get_bucket_stat(self.cold_bucket)
156156
frozen_bucket_stat = self.s3_client.get_bucket_stat(self.frozen_bucket)
157157
logger.info(
158-
f"portions: {table.get_portion_stat_by_tier()}, blobs: {table.get_blob_stat_by_tier()}, cold bucket stat: {self.cold_bucket_stat}, frozen bucket stat: {self.frozen_bucket_stat}")
158+
f"portions: {table.get_portion_stat_by_tier()}, blobs: {table.get_blob_stat_by_tier()}, cold bucket stat: {cold_bucket_stat}, frozen bucket stat: {frozen_bucket_stat}")
159159
return cold_bucket_stat[0] == 0 and frozen_bucket_stat[0] == 0
160160

161161
if not self.wait_for(lambda: data_deleted_from_buckets(), 120):

0 commit comments

Comments
 (0)