From c276cb89795e36181d37057fdf5083415fa4ff3d Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Sun, 10 Nov 2024 10:24:13 -0600 Subject: [PATCH] fuse unit tests and fixes --- repertory/repertory_test/include/fixtures/fuse_fixture.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp index 1f3da221..b787598a 100644 --- a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp @@ -269,7 +269,7 @@ public: } EXPECT_EQ(0, close(fd)); - std::this_thread::sleep_for(SLEEP_SECONDS); + // std::this_thread::sleep_for(SLEEP_SECONDS); return file_path; } @@ -294,6 +294,7 @@ public: {META_UID, "0"}, {META_GID, "0"}, }); + std::this_thread::sleep_for(SLEEP_SECONDS); return file_path; } @@ -343,6 +344,7 @@ public: {META_UID, std::to_string(getuid())}, {META_GID, std::to_string(getgid())}, }); + std::this_thread::sleep_for(SLEEP_SECONDS); unlink_file_and_test(file_path); }