From ac84c582b16ffd24ab5cbe91db8e8466fd26f9b1 Mon Sep 17 00:00:00 2001 From: Andrew Rumble Date: Thu, 7 Nov 2024 15:59:58 +0000 Subject: [PATCH] Clear lock after every project structure test Co-authored-by: Jakob Ackermann GitOrigin-RevId: af64d6ce2c81df55923e73597c97de6f394d54bb --- .../web/test/acceptance/src/ProjectStructureMongoLockTest.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs b/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs index 8517432e9d..e414f392f9 100644 --- a/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs +++ b/services/web/test/acceptance/src/ProjectStructureMongoLockTest.mjs @@ -75,7 +75,7 @@ describe('ProjectStructureMongoLock', function () { }) }) - after(function (done) { + afterEach(function (done) { return LockManager._releaseLock(this.lock_key, this.lockValue, done) })