Skip to content

Commit

Permalink
fix check
Browse files Browse the repository at this point in the history
  • Loading branch information
kunga committed Feb 8, 2024
1 parent 39172bb commit 8cefe19
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ydb/core/tablet_flat/ut/ut_btree_index_iter_charge.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,12 @@ Y_UNIT_TEST_SUITE(TChargeBTreeIndex) {
}
if (!groupId.IsMain() && !loaded.contains(pageId)) {
// only check that we loaded consecutive pages
break;
if (params.StickSomePages) {
// extra pages may appear after the bytes limit is applied on main pages
continue;
} else {
break;
}
}
expected.insert(pageId);
if (size > bytesLimit) {
Expand Down

0 comments on commit 8cefe19

Please sign in to comment.