test fixes
This commit is contained in:
parent
3a79cee2f9
commit
f5b827a039
@ -86,7 +86,7 @@ protected:
|
||||
{
|
||||
app_config src_cfg{
|
||||
provider_type::s3,
|
||||
utils::path::combine(test::get_test_config_dir(), {"storj"}),
|
||||
utils::path::combine(test::get_test_config_dir(), {"repertory_s3"}),
|
||||
};
|
||||
config->set_enable_drive_events(true);
|
||||
config->set_event_level(event_level::trace);
|
||||
@ -97,7 +97,7 @@ protected:
|
||||
drive_args = std::vector<std::string>({
|
||||
"-s3",
|
||||
"-na",
|
||||
"storj",
|
||||
"repertory",
|
||||
});
|
||||
} break;
|
||||
|
||||
@ -254,7 +254,8 @@ std::unique_ptr<i_provider> fuse_test<provider_t>::provider{};
|
||||
template <typename provider_t>
|
||||
std::string fuse_test<provider_t>::test_directory;
|
||||
|
||||
using fuse_provider_types = ::testing::Types<s3_provider, sia_provider>;
|
||||
// using fuse_provider_types = ::testing::Types<s3_provider, sia_provider>;
|
||||
using fuse_provider_types = ::testing::Types<s3_provider>;
|
||||
} // namespace repertory
|
||||
|
||||
#endif // !defined(_WIN32)
|
||||
|
@ -78,7 +78,7 @@ protected:
|
||||
{
|
||||
app_config src_cfg{
|
||||
provider_type::s3,
|
||||
utils::path::combine(test::get_test_config_dir(), {"storj"}),
|
||||
utils::path::combine(test::get_test_config_dir(), {"repertory_s3"}),
|
||||
};
|
||||
config->set_enable_drive_events(true);
|
||||
config->set_event_level(event_level::trace);
|
||||
@ -141,8 +141,8 @@ protected:
|
||||
}
|
||||
|
||||
public:
|
||||
[[nodiscard]] static auto create_directory_and_test(std::string &dir_name)
|
||||
-> std::string {
|
||||
[[nodiscard]] static auto
|
||||
create_directory_and_test(std::string &dir_name) -> std::string {
|
||||
dir_name += std::to_string(++idx);
|
||||
auto api_path = utils::path::create_api_path(dir_name);
|
||||
auto dir_path = utils::path::combine(mount_location, {dir_name});
|
||||
@ -153,8 +153,8 @@ public:
|
||||
return dir_path;
|
||||
}
|
||||
|
||||
[[nodiscard]] static auto create_file_and_test(std::string &file_name)
|
||||
-> std::string {
|
||||
[[nodiscard]] static auto
|
||||
create_file_and_test(std::string &file_name) -> std::string {
|
||||
file_name += std::to_string(++idx);
|
||||
auto api_path = utils::path::create_api_path(file_name);
|
||||
auto file_path = utils::path::combine(mount_location, {file_name});
|
||||
|
@ -20,7 +20,6 @@
|
||||
SOFTWARE.
|
||||
*/
|
||||
#if !defined(_WIN32)
|
||||
#if 0
|
||||
|
||||
#include "fixtures/fuse_fixture.hpp"
|
||||
|
||||
@ -647,5 +646,4 @@ TYPED_TEST(fuse_test, can_not_chown_user_if_not_root) {
|
||||
}
|
||||
} // namespace repertory
|
||||
|
||||
#endif // 0
|
||||
#endif // !defined(_WIN32)
|
||||
|
Loading…
x
Reference in New Issue
Block a user