diff --git a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp index acf633c4..e0f49242 100644 --- a/repertory/repertory_test/include/fixtures/fuse_fixture.hpp +++ b/repertory/repertory_test/include/fixtures/fuse_fixture.hpp @@ -116,6 +116,10 @@ protected: current_directory = std::filesystem::current_path(); const auto mount_s3 = [&](bool as_remote) { + if (::testing::Test::HasFatalFailure()) { + return; + } + { auto test_directory = utils::path::combine( test::get_test_output_dir(), @@ -166,6 +170,10 @@ protected: }; const auto mount_sia = [&](bool as_remote) { + if (::testing::Test::HasFatalFailure()) { + return; + } + { auto test_directory = utils::path::combine( test::get_test_output_dir(), @@ -213,11 +221,11 @@ protected: }; const auto mount_remote = [&]() { - { - if (::testing::Test::HasFatalFailure()) { - return; - } + if (::testing::Test::HasFatalFailure()) { + return; + } + { mount_location2 = mount_location; auto test_directory = utils::path::combine( test::get_test_output_dir(),