@@ -17,6 +17,7 @@ bucket_definitions:
1717 const bucketStorage = factory . getInstance ( syncRules ) ;
1818
1919 const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
20+ await batch . markAllSnapshotDone ( '1/1' ) ;
2021 await batch . save ( {
2122 sourceTable : TEST_TABLE ,
2223 tag : storage . SaveOperationTag . INSERT ,
@@ -131,6 +132,7 @@ bucket_definitions:
131132 const bucketStorage = factory . getInstance ( syncRules ) ;
132133
133134 const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
135+ await batch . markAllSnapshotDone ( '1/1' ) ;
134136 await batch . save ( {
135137 sourceTable : TEST_TABLE ,
136138 tag : storage . SaveOperationTag . INSERT ,
@@ -253,6 +255,7 @@ bucket_definitions:
253255 const bucketStorage = factory . getInstance ( syncRules ) ;
254256
255257 const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
258+ await batch . markAllSnapshotDone ( '1/1' ) ;
256259 await batch . save ( {
257260 sourceTable : TEST_TABLE ,
258261 tag : storage . SaveOperationTag . INSERT ,
@@ -343,6 +346,7 @@ bucket_definitions:
343346 const bucketStorage = factory . getInstance ( syncRules ) ;
344347
345348 const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
349+ await batch . markAllSnapshotDone ( '1/1' ) ;
346350 /**
347351 * Repeatedly create operations which fall into different buckets.
348352 * The bucket operations are purposely interleaved as the op_id increases.
@@ -468,7 +472,8 @@ bucket_definitions:
468472 } ) ;
469473 const bucketStorage = factory . getInstance ( syncRules ) ;
470474
471- const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
475+ await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
476+ await batch . markAllSnapshotDone ( '1/1' ) ;
472477 await batch . save ( {
473478 sourceTable : TEST_TABLE ,
474479 tag : storage . SaveOperationTag . INSERT ,
@@ -539,6 +544,7 @@ bucket_definitions:
539544 const bucketStorage = factory . getInstance ( syncRules ) ;
540545
541546 const result = await bucketStorage . startBatch ( test_utils . BATCH_OPTIONS , async ( batch ) => {
547+ await batch . markAllSnapshotDone ( '1/1' ) ;
542548 await batch . save ( {
543549 sourceTable : TEST_TABLE ,
544550 tag : storage . SaveOperationTag . INSERT ,
0 commit comments