Skip to content

Commit

Permalink
undo earlier change to testcase
Browse files Browse the repository at this point in the history
  • Loading branch information
finnschiermer committed Mar 28, 2021
1 parent fb069f4 commit 15da9f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test_upgrade_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 15da9f6

Please sign in to comment.