From 1f290d1d1a62baac06b7a293d51641168cfc8b0e Mon Sep 17 00:00:00 2001 From: Maicon Costa Date: Thu, 24 Jul 2025 18:20:49 -0300 Subject: [PATCH] Reenable integration tests on Postgres and MySQL Signed-off-by: Maicon Costa --- .../apis/dashboard/integration/api_validation_test.go | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/pkg/tests/apis/dashboard/integration/api_validation_test.go b/pkg/tests/apis/dashboard/integration/api_validation_test.go index e93dbe70100..bac1e5ae08a 100644 --- a/pkg/tests/apis/dashboard/integration/api_validation_test.go +++ b/pkg/tests/apis/dashboard/integration/api_validation_test.go @@ -20,7 +20,6 @@ import ( dashboardV2alpha2 "github.com/grafana/grafana/apps/dashboard/pkg/apis/dashboard/v2alpha2" foldersV1 "github.com/grafana/grafana/apps/folder/pkg/apis/folder/v1beta1" "github.com/grafana/grafana/pkg/apiserver/rest" - "github.com/grafana/grafana/pkg/infra/db" "github.com/grafana/grafana/pkg/services/featuremgmt" "github.com/grafana/grafana/pkg/services/folder" "github.com/grafana/grafana/pkg/services/serviceaccounts" @@ -62,9 +61,6 @@ func TestIntegrationDashboardAPIValidation(t *testing.T) { if testing.Short() { t.Skip("skipping integration test") } - if !db.IsTestDbSQLite() { - t.Skip("test only on sqlite for now") - } dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode3, rest.Mode4, rest.Mode5} for _, dualWriterMode := range dualWriterModes { @@ -135,9 +131,6 @@ func TestIntegrationDashboardAPIAuthorization(t *testing.T) { if testing.Short() { t.Skip("skipping integration test") } - if !db.IsTestDbSQLite() { - t.Skip("test only on sqlite for now") - } dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode3, rest.Mode4, rest.Mode5} for _, dualWriterMode := range dualWriterModes { @@ -188,9 +181,6 @@ func TestIntegrationDashboardAPI(t *testing.T) { if testing.Short() { t.Skip("skipping integration test") } - if !db.IsTestDbSQLite() { - t.Skip("test only on sqlite for now") - } dualWriterModes := []rest.DualWriterMode{rest.Mode0, rest.Mode1, rest.Mode2, rest.Mode3, rest.Mode4, rest.Mode5} for _, dualWriterMode := range dualWriterModes {