Skip to content

Commit

Permalink
fix ut
Browse files Browse the repository at this point in the history
  • Loading branch information
Rattysed committed Jan 24, 2025
1 parent 6942989 commit d0d7b16
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions cloud/blockstore/libs/storage/volume/volume_ut_checkpoint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1938,22 +1938,14 @@ Y_UNIT_TEST_SUITE(TVolumeCheckpointTest)
UNIT_ASSERT_VALUES_EQUAL(1, cp.size());
}

volume.DeleteCheckpoint("c1");

{
auto stat = volume.StatVolume();
const auto& cp = stat->Record.GetCheckpoints();
UNIT_ASSERT_VALUES_EQUAL(0, cp.size());
}

volume.RebootTablet();
volume.AddClient(clientInfo);
volume.WaitReady();

{
auto stat = volume.StatVolume();
const auto& cp = stat->Record.GetCheckpoints();
UNIT_ASSERT_VALUES_EQUAL(0, cp.size());
UNIT_ASSERT_VALUES_EQUAL(1, cp.size());
}

{
Expand Down

0 comments on commit d0d7b16

Please sign in to comment.