Skip to content

Commit

Permalink
fix test (#5094)
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmorozov333 authored Jun 1, 2024
1 parent 97fc7f0 commit cd555a3
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ydb/services/ydb/ydb_logstore_ut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

{
Expand All @@ -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");
}

{
Expand Down

0 comments on commit cd555a3

Please sign in to comment.