Skip to content

Commit

Permalink
fix cmake pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
oathdruid committed Aug 9, 2024
1 parent 6dfd550 commit a7d4268
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/logging/test_rolling_file_object.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ TEST_F(RollingFileObjectTest, keep_file_dont_exceed_num) {
old_fds.emplace_back(old_fd);
}
rolling_object.delete_expire_files();
::usleep(100 * 1000);
}

{
Expand All @@ -72,6 +73,7 @@ TEST_F(RollingFileObjectTest, fd_refer_to_latest_file) {
}
rolling_object.delete_expire_files();
last_fd = fd;
::usleep(100 * 1000);
}

ASSERT_NE(-1, last_fd);
Expand Down

0 comments on commit a7d4268

Please sign in to comment.