summaryrefslogtreecommitdiff
path: root/scripts/migration/0.8.2/tests/conftest.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/migration/0.8.2/tests/conftest.py')
-rw-r--r--scripts/migration/0.8.2/tests/conftest.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/migration/0.8.2/tests/conftest.py b/scripts/migration/0.8.2/tests/conftest.py
index 8e49891c..61f6c7ee 100644
--- a/scripts/migration/0.8.2/tests/conftest.py
+++ b/scripts/migration/0.8.2/tests/conftest.py
@@ -33,6 +33,10 @@ initial_docs = [
{'_id': '_design/syncs'},
{'_id': '_design/transactions',
'views': {'log': {'map': transaction_map}}},
+ # add some data from previous interrupted migration
+ {'_id': '_local/sync_A', 'gen': 0, 'trans_id': '', 'replica_uid': 'A'},
+ {'_id': 'gen-0000000002',
+ 'gen': 2, 'trans_id': 'trans-2', 'doc_id': 'doc2'},
# the following should be removed if found in the dbs
{'_id': 'u1db_sync_log'},
{'_id': 'u1db_sync_state'},