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 ff48262 commit 740fdcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_mlock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +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);
::usleep(1000 * 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 740fdcb

Please sign in to comment.