This is an automated email from the ASF dual-hosted git repository. pnoltes pushed a commit to branch feature/refactor_bundle_cache in repository https://gitbox.apache.org/repos/asf/celix.git
commit 7f858a764b618431eb933f4ef5d626b47dc031b0 Author: Pepijn Noltes <[email protected]> AuthorDate: Tue Jan 31 22:21:53 2023 +0100 Add small sleep to ensure time diff can be measured in bundle archive tests --- libs/framework/gtest/src/BundleArchiveTestSuite.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/framework/gtest/src/BundleArchiveTestSuite.cc b/libs/framework/gtest/src/BundleArchiveTestSuite.cc index b632da8c..8da151de 100644 --- a/libs/framework/gtest/src/BundleArchiveTestSuite.cc +++ b/libs/framework/gtest/src/BundleArchiveTestSuite.cc @@ -129,6 +129,7 @@ TEST_F(CxxBundleArchiveTestSuite, BundleArchiveUpdatedAfterCleanOnCreateTest) { tracker.reset(); ctx.reset(); fw.reset(); + std::this_thread::sleep_for(std::chrono::milliseconds{100}); //wait so that the zip <-> archive dir modification time is different timespec secondInstallTime{};
