diff --git a/services/history-v1/test/acceptance/js/storage/back_fill_file_hash.test.mjs b/services/history-v1/test/acceptance/js/storage/back_fill_file_hash.test.mjs index 9f9168dddb..14a1c811d6 100644 --- a/services/history-v1/test/acceptance/js/storage/back_fill_file_hash.test.mjs +++ b/services/history-v1/test/acceptance/js/storage/back_fill_file_hash.test.mjs @@ -471,6 +471,10 @@ describe('back_fill_file_hash script', function () { async function prepareEnvironment() { await cleanup.everything() + // Manually remove the guard that is created after running the binary files migration. + await db + .collection('migrations') + .deleteOne({ name: '20250519101128_binary_files_migration' }) await mockFilestore.start() await populateMongo() await populateHistoryV1() diff --git a/services/history-v1/test/acceptance/js/storage/support/cleanup.js b/services/history-v1/test/acceptance/js/storage/support/cleanup.js index f316b1ebad..c8b545cc2f 100644 --- a/services/history-v1/test/acceptance/js/storage/support/cleanup.js +++ b/services/history-v1/test/acceptance/js/storage/support/cleanup.js @@ -20,7 +20,6 @@ const MONGO_COLLECTIONS = [ 'deletedProjects', 'projects', 'projectHistoryBackedUpBlobs', - 'migrations', ] // make sure we don't delete the wrong data by accident