hungphan227 commented on code in PR #2029:
URL: https://github.com/apache/james-project/pull/2029#discussion_r1505490515


##########
backends-common/postgres/src/test/java/org/apache/james/backends/postgres/PostgresExtension.java:
##########
@@ -178,6 +178,10 @@ public void beforeEach(ExtensionContext extensionContext) {
     @Override
     public void afterEach(ExtensionContext extensionContext) {
         resetSchema();
+
+        if (!rlsEnabled) {
+            dropAllConnections();
+        }

Review Comment:
   what disposePostgresSession close is connection of PostgresExtension, not 
connections created when running PostgresJamesServerMain



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscr...@james.apache.org
For additional commands, e-mail: notifications-h...@james.apache.org

Reply via email to