From fe98837e83238fa27a43bf79467259e4d1337a6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Manuel=20de=20la=20Pe=C3=B1a?= Date: Tue, 18 Feb 2025 18:22:21 +0100 Subject: [PATCH] fix: forgot to close mysql store in test --- mysql/mysql_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mysql/mysql_test.go b/mysql/mysql_test.go index 64e4262b..83e0cdc2 100644 --- a/mysql/mysql_test.go +++ b/mysql/mysql_test.go @@ -82,7 +82,7 @@ func Test_MYSQL_New(t *testing.T) { }) require.True(t, newConfigStore.db != nil) - // no need to close the newConfigStore since the testStore is called in the defer + defer newConfigStore.Close() } func Test_MYSQL_Set(t *testing.T) {