Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch back to disabling metadata storage for most object store tests #7242

Merged
merged 1 commit into from
Jan 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions test/object-store/sync/app.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3951,6 +3951,7 @@ TEST_CASE("app: login_with_credentials unit_tests", "[sync][app][user]") {
UnitTestTransport::access_token = good_access_token;
config.base_path = util::make_temp_dir();
config.should_teardown_test_directory = false;
config.metadata_mode = SyncManager::MetadataMode::NoEncryption;
{
TestSyncManager tsm(config);
auto app = tsm.app();
Expand Down Expand Up @@ -4962,6 +4963,7 @@ TEST_CASE("app: metadata is persisted between sessions", "[sync][app][metadata]"
TestSyncManager::Config config = get_config(instance_of<transport>);
config.base_path = util::make_temp_dir();
config.should_teardown_test_directory = false;
config.metadata_mode = SyncManager::MetadataMode::NoEncryption;

{
TestSyncManager sync_manager(config, {});
Expand Down
2 changes: 1 addition & 1 deletion test/object-store/util/test_file.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ class TestSyncManager {
Config() {}
realm::app::App::Config app_config;
std::string base_path;
realm::SyncManager::MetadataMode metadata_mode = realm::SyncManager::MetadataMode::NoEncryption;
realm::SyncManager::MetadataMode metadata_mode = realm::SyncManager::MetadataMode::NoMetadata;
bool should_teardown_test_directory = true;
realm::util::Logger::Level log_level = realm::util::Logger::Level::TEST_LOGGING_LEVEL;
bool override_sync_route = true;
Expand Down
Loading