aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivanmorozov333 <ivanmorozov@ydb.tech>2024-06-01 07:19:10 +0300
committerGitHub <noreply@github.com>2024-06-01 07:19:10 +0300
commitcd555a38fc7a7c871274253902240fbdb302437b (patch)
treecef7a297e516c3eb7fc04b53f2af9ab312c15582
parent97fc7f08ad45df7e01d9ae5012b45e077ff1f2f7 (diff)
downloadydb-cd555a38fc7a7c871274253902240fbdb302437b.tar.gz
fix test (#5094)
-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 a85072d2ae..05f55c180b 100644
--- a/ydb/services/ydb/ydb_logstore_ut.cpp
+++ b/ydb/services/ydb/ydb_logstore_ut.cpp
@@ -333,10 +333,11 @@ 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(), 3);
+ UNIT_ASSERT_VALUES_EQUAL(children.size(), 4);
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");
+ UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "store_primary_index_optimizer_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[2].Name, "store_primary_index_portion_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[3].Name, "store_primary_index_stats");
}
{
@@ -353,10 +354,11 @@ 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(), 3);
+ UNIT_ASSERT_VALUES_EQUAL(children.size(), 4);
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");
+ UNIT_ASSERT_VALUES_EQUAL(children[1].Name, "primary_index_optimizer_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[2].Name, "primary_index_portion_stats");
+ UNIT_ASSERT_VALUES_EQUAL(children[3].Name, "primary_index_stats");
}
{