Skip to content

Commit

Permalink
v4.0.0 refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
odygrd committed May 16, 2024
1 parent ab02b7b commit c8ba9d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions quill/test/integration_tests/RotatingSinkKeepOldestTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ TEST_CASE("rotating_sink_keep_oldest")
Frontend::remove_logger(logger);
}

// Wait until the backend thread stops for test stability
Backend::stop();

// Read file and check
std::vector<std::string> const file_contents = quill::testing::file_contents(base_filename_a);
REQUIRE_GE(file_contents.size(), 3);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ TEST_CASE("rotating_sink_overwrite_oldest")
Frontend::remove_logger(logger);
}

// Wait until the backend thread stops for test stability
Backend::stop();

// Read file and check
std::vector<std::string> const file_contents = quill::testing::file_contents(base_filename_a);
REQUIRE_GE(file_contents.size(), 3);
Expand Down

0 comments on commit c8ba9d3

Please sign in to comment.