Skip to content

Commit

Permalink
Fixes a failing AttachmentFileManager test
Browse files Browse the repository at this point in the history
  • Loading branch information
Spoffy committed Jan 14, 2025
1 parent fdc3fa4 commit 2dc01d0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server/lib/AttachmentFileManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,9 @@ describe("AttachmentFileManager", function() {
const fileAddResult3 = await manager.addFile(sourceStoreId, ".txt", Buffer.from("C"));

await manager.startTransferringAllFilesToOtherStore(allStoreIds[1]);
assert.isFalse(manager.allTransfersCompleted());
assert.isTrue(manager.transferStatus().isRunning);
await manager.allTransfersCompleted();
assert.isTrue(manager.allTransfersCompleted());
assert.isFalse(manager.transferStatus().isRunning);


const destStore = (await defaultProvider.getStore(allStoreIds[1]))!;
Expand Down

0 comments on commit 2dc01d0

Please sign in to comment.