You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@kyuubi.apache.org by GitBox <gi...@apache.org> on 2022/05/06 10:07:25 UTC

[GitHub] [incubator-kyuubi] yaooqinn commented on a diff in pull request #2574: [KYUUBI #2571] Release connection to prevent the engine leak

yaooqinn commented on code in PR #2574:
URL: https://github.com/apache/incubator-kyuubi/pull/2574#discussion_r866682183


##########
kyuubi-server/src/test/scala/org/apache/kyuubi/operation/KyuubiOperationPerConnectionSuite.scala:
##########
@@ -140,6 +140,8 @@ class KyuubiOperationPerConnectionSuite extends WithKyuubiServer with HiveJDBCTe
       val resultSet = stmt.getResultSet
       assert(resultSet.next())
       assert(resultSet.getString(1).nonEmpty)
+      stmt.close()

Review Comment:
   add to finally?



-- 
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-unsubscribe@kyuubi.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@kyuubi.apache.org
For additional commands, e-mail: notifications-help@kyuubi.apache.org