From 0a036ec9087ef0516a27b083efaa6b89dc6b457f Mon Sep 17 00:00:00 2001 From: minami-takuya Date: Thu, 25 Dec 2025 13:03:51 +0900 Subject: [PATCH] fix: add missing disconnect call in get_ng_test_cases_at_last_execution - Add @connector.disconnect to prevent connection leak - This method is called multiple times during re-test execution - Aligns with other public methods that properly disconnect --- lib/bucky/core/database/test_data_operator.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/bucky/core/database/test_data_operator.rb b/lib/bucky/core/database/test_data_operator.rb index 8cab581d..8afad0a3 100644 --- a/lib/bucky/core/database/test_data_operator.rb +++ b/lib/bucky/core/database/test_data_operator.rb @@ -89,6 +89,7 @@ def get_ng_test_cases_at_last_execution(cond) } end end + @connector.disconnect re_test_cond end