From 0e5298ced84617754522739041f682ee111f2520 Mon Sep 17 00:00:00 2001 From: JaiPannu-IITI Date: Sun, 16 Feb 2025 01:56:31 +0000 Subject: [PATCH] coderabbit ai --- src/utilities/testDbConnection.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utilities/testDbConnection.ts b/src/utilities/testDbConnection.ts index 2c2f6ee2a0c..b69aa8088bc 100644 --- a/src/utilities/testDbConnection.ts +++ b/src/utilities/testDbConnection.ts @@ -117,7 +117,8 @@ async function runValidation(): Promise { process.exit(1); } console.log("Database Updation : Success"); - process.exit(0); + await queryClient.end(); + process.exit(0); } catch (error) { if (error instanceof Error) { console.error(`\nERROR: ${error.message}`);