Skip to content

Commit

Permalink
fix test/test_mlock.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Jul 25, 2024
1 parent 161e145 commit ff48262
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test_mlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ TEST_F(MemoryLockerTest, lock_regions_before_start) {
ASSERT_FALSE(region_in_memory());
ASSERT_EQ(0, MemoryLocker::instance().start());
next_round();
::usleep(100 * 1000);
ASSERT_TRUE(region_in_memory());
ASSERT_EQ(CEILED_REGION_SIZE, MemoryLocker::instance().locked_bytes());
ASSERT_EQ(0, MemoryLocker::instance().last_errno());
Expand Down

0 comments on commit ff48262

Please sign in to comment.