High performance self-hosted photo and video management solution.
TypeScript backup-toolfluttergoogle-photosgoogle-photos-alternativejavascriptmobile-appnestjsnodejsphoto-galleryphotosphotos-managementself-hostedsveltesveltekittypescriptvideos
chore: deflake album to asset backfill sync test (#30417)
bo0tzz7c44c29a8f52
diff --git a/server/test/medium/specs/sync/sync-album-to-asset.spec.ts b/server/test/medium/specs/sync/sync-album-to-asset.spec.tsindex a0802abe73..0fd58c527c 100644--- a/server/test/medium/specs/sync/sync-album-to-asset.spec.ts+++ b/server/test/medium/specs/sync/sync-album-to-asset.spec.ts@@ -161,12 +161,14 @@ describe(SyncRequestType.AlbumToAssetsV1, () => {// backfill needs assets with an older updateIdconst { asset: sharedAsset1 } = await ctx.newAsset({ ownerId: user2.id });+ await wait(2);const { asset: sharedAsset2 } = await ctx.newAsset({ ownerId: user2.id });await wait(2);const { album: sharedAlbum } = await ctx.newAlbum({ ownerId: user2.id });await ctx.newAlbumAsset({ albumId: sharedAlbum.id, assetId: sharedAsset1.id });+ await wait(2);await ctx.newAlbumAsset({ albumId: sharedAlbum.id, assetId: sharedAsset2.id });await wait(2);