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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]