From a8733f9a056ef827d66edb800aead788c4751dd3 Mon Sep 17 00:00:00 2001 From: maicon Date: Thu, 10 Jul 2025 09:58:35 -0300 Subject: [PATCH] Fix TestIntegrationFoldersGetAPIEndpointK8S (#107924) Run TestIntegrationFoldersGetAPIEndpointK8S only for SQLite Signed-off-by: Maicon Costa --- pkg/tests/apis/folder/folders_test.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/pkg/tests/apis/folder/folders_test.go b/pkg/tests/apis/folder/folders_test.go index 68ffb9f3a4d..befb3fe7b3f 100644 --- a/pkg/tests/apis/folder/folders_test.go +++ b/pkg/tests/apis/folder/folders_test.go @@ -18,6 +18,7 @@ import ( folders "github.com/grafana/grafana/apps/folder/pkg/apis/folder/v1beta1" "github.com/grafana/grafana/pkg/api/dtos" grafanarest "github.com/grafana/grafana/pkg/apiserver/rest" + "github.com/grafana/grafana/pkg/infra/db" "github.com/grafana/grafana/pkg/services/accesscontrol/resourcepermissions" "github.com/grafana/grafana/pkg/services/dashboards" "github.com/grafana/grafana/pkg/services/featuremgmt" @@ -1026,7 +1027,10 @@ func TestIntegrationFoldersGetAPIEndpointK8S(t *testing.T) { if testing.Short() { t.Skip("skipping integration test") } - t.Skip("not working yet") + + if !db.IsTestDbSQLite() { + t.Skip("test only on sqlite for now") + } type testCase struct { description string