From 2ab20b49aefc66de67b9dfd72ab74abb5d1ba99f Mon Sep 17 00:00:00 2001 From: rgunindi Date: Mon, 16 Dec 2024 02:36:19 +0100 Subject: [PATCH] fix ci --- .github/workflows/ci.yml | 3 +-- __tests__/unit/parse-cache-memory.test.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 6c970c5..1fc1dc9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -129,7 +129,6 @@ jobs: with: name: package path: "*.tgz" - - name: Install MongoDB run: | wget -qO - https://www.mongodb.org/static/pgp/server-7.0.asc | sudo apt-key add - @@ -142,4 +141,4 @@ jobs: sudo systemctl start mongod mongod --version # Verify installation sleep 5 # Give MongoDB time to start - mongosh --eval "db.version()" # Verify connection \ No newline at end of file + mongosh --eval "db.version()" # Verify connection diff --git a/__tests__/unit/parse-cache-memory.test.js b/__tests__/unit/parse-cache-memory.test.js index 32ceb76..efd14fb 100644 --- a/__tests__/unit/parse-cache-memory.test.js +++ b/__tests__/unit/parse-cache-memory.test.js @@ -165,8 +165,7 @@ describe('Parse Cache Memory Unit Tests', () => { try { await Promise.all([ new Promise(resolve => httpServer?.close(resolve)), - parseServer?.handleShutdown?.(), - mongod?.stop() + parseServer?.handleShutdown?.() ]); } catch (error) { console.error('Cleanup error:', error);