From 399005cc584e5c7d31a823cea038873c4796d354 Mon Sep 17 00:00:00 2001 From: Riqwan Thamir Date: Tue, 31 Oct 2023 08:02:19 +0100 Subject: [PATCH] fix: undo container pg connection destroy (#5500) --- integration-tests/environment-helpers/use-db.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/integration-tests/environment-helpers/use-db.js b/integration-tests/environment-helpers/use-db.js index 2fc418c430..36d02b0ee0 100644 --- a/integration-tests/environment-helpers/use-db.js +++ b/integration-tests/environment-helpers/use-db.js @@ -69,14 +69,8 @@ const DbTestUtil = { }, shutdown: async function () { - const container = getContainer() - const containerPgConnection = container.resolve( - ContainerRegistrationKeys.PG_CONNECTION - ) - await this.db_.destroy() await this.pgConnection_?.context?.destroy() - await containerPgConnection?.context?.destroy() return await dropDatabase({ DB_NAME }, pgGodCredentials) },