From 15da9f6057210c5962272b13df0b0539694e7d87 Mon Sep 17 00:00:00 2001 From: Finn Schiermer Andersen Date: Sun, 28 Mar 2021 14:01:49 +0200 Subject: [PATCH] undo earlier change to testcase --- test/test_upgrade_database.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_upgrade_database.cpp b/test/test_upgrade_database.cpp index 73f5e2226aa..ce86cf8e799 100644 --- a/test/test_upgrade_database.cpp +++ b/test/test_upgrade_database.cpp @@ -1827,13 +1827,13 @@ NONCONCURRENT_TEST(Upgrade_BackupAtoBbypassAtoC) // downgrade/restore backup of format 200, but simulate that no downgrade // is actually shipped. Instead directly move forward to version 203, - // bypassing the outlawed 201 and 202. Set an age limit of 1 day for any backuo + // bypassing the outlawed 201 and 202. Set an age limit of 2 seconds for any backuo // of version 201 to prevent it from being deleted _impl::GroupFriend::fake_target_file_format(203); { DBOptions options; options.accepted_versions = {203, 200}; - options.to_be_deleted = {{201, 24 * 60 * 60}}; + options.to_be_deleted = {{201, 2}}; auto hist = make_in_realm_history(path); auto db = DB::create(*hist, options); auto tr = db->start_write();