aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivanmorozov333 <111685085+ivanmorozov333@users.noreply.github.com>2024-04-08 08:26:24 +0300
committerGitHub <noreply@github.com>2024-04-08 08:26:24 +0300
commit3fa95b9777601584da35d5925d7908f283f671a9 (patch)
tree79e86e593e7a668bdbc4ef8111c9e396e4a3ab9a
parent14c32356418682fbf82916ac4405346d3787f6b6 (diff)
downloadydb-3fa95b9777601584da35d5925d7908f283f671a9.tar.gz
fix test YdbLogStore.LogTable (#3535)
-rw-r--r--ydb/services/ydb/ydb_logstore_ut.cpp14
1 files changed, 8 insertions, 6 deletions
diff --git a/ydb/services/ydb/ydb_logstore_ut.cpp b/ydb/services/ydb/ydb_logstore_ut.cpp
index 733cac108e7..feb03d49303 100644
--- a/ydb/services/ydb/ydb_logstore_ut.cpp
+++ b/ydb/services/ydb/ydb_logstore_ut.cpp
@@ -333,9 +333,10 @@ Y_UNIT_TEST_SUITE(YdbLogStore) {
auto res = schemaClient.ListDirectory("/Root/LogStore/.sys").GetValueSync();
UNIT_ASSERT_VALUES_EQUAL_C(res.GetStatus(), EStatus::SUCCESS, res.GetIssues().ToString());
auto children = res.GetChildren();
- UNIT_ASSERT_VALUES_EQUAL(children.size(), 2);
- UNIT_ASSERT_VALUES_EQUAL(children[0].Name, "store_primary_index_portion_stats");
- UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "store_primary_index_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children.size(), 3);
+ UNIT_ASSERT_VALUES_EQUAL(children[0].Name, "store_primary_index_granule_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "store_primary_index_portion_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[2].Name, "store_primary_index_stats");
}
{
@@ -352,9 +353,10 @@ Y_UNIT_TEST_SUITE(YdbLogStore) {
auto res = schemaClient.ListDirectory("/Root/LogStore/log1/.sys").GetValueSync();
UNIT_ASSERT_VALUES_EQUAL_C(res.GetStatus(), EStatus::SUCCESS, res.GetIssues().ToString());
auto children = res.GetChildren();
- UNIT_ASSERT_VALUES_EQUAL(children.size(), 2);
- UNIT_ASSERT_VALUES_EQUAL(children[0].Name, "primary_index_portion_stats");
- UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "primary_index_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children.size(), 3);
+ UNIT_ASSERT_VALUES_EQUAL(children[0].Name, "primary_index_granule_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "primary_index_portion_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[2].Name, "primary_index_stats");
}
{