Skip to content

Commit e4a9fa2

Browse files
committed
fix
1 parent c753bab commit e4a9fa2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ydb/core/tablet_flat/shared_cache_composite_ut.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -530,11 +530,11 @@ Y_UNIT_TEST_SUITE(TCompositeCache) {
530530
UNIT_ASSERT_VALUES_EQUAL(counter1->Val(), 19); // [32 .. 39, 23]
531531
UNIT_ASSERT_VALUES_EQUAL(counter2->Val(), 21); // [50, 0 .. 20]
532532

533-
cache.UpdateLimit(10);
533+
cache.UpdateLimit(7);
534534
UNIT_ASSERT_VALUES_EQUAL(Touch(cache, *pages[7]).size(), 30);
535-
UNIT_ASSERT_VALUES_EQUAL(cache.GetSize(), 10);
535+
UNIT_ASSERT_VALUES_EQUAL(cache.GetSize(), 7);
536536
UNIT_ASSERT_VALUES_EQUAL(counter1->Val(), 0);
537-
UNIT_ASSERT_VALUES_EQUAL(counter2->Val(), 10);
537+
UNIT_ASSERT_VALUES_EQUAL(counter2->Val(), 7);
538538
}
539539

540540
}

0 commit comments

Comments
 (0)