Skip to content

Commit 618505c

Browse files
committed
Update test to match the new defaults
When syncctx is initialised, we will init the generation with 0 and let the sync_db to update it to the new value
1 parent a49ab95 commit 618505c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsql/src/sync/test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ async fn test_sync_context_corrupted_metadata() {
129129

130130
// Verify that the context was reset to default values
131131
assert_eq!(sync_ctx.durable_frame_num(), 0);
132-
assert_eq!(sync_ctx.durable_generation(), 1);
132+
assert_eq!(sync_ctx.durable_generation(), 0);
133133
}
134134

135135
#[tokio::test]

0 commit comments

Comments
 (0)