Skip to content

Commit 24d7863

Browse files
Switch report and datasource permissions test to Enterprise (#860)
They were using the cloud instance rather than the enterprise instance which we have setup in CI now This will lead to more predictable failures (cloud can be auto-updated)
1 parent 4c10c7a commit 24d7863

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

internal/resources/grafana/resource_datasource_permission_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,7 @@ import (
1212
)
1313

1414
func TestAccDatasourcePermission_basic(t *testing.T) {
15-
t.Skip("This test is failing in Grafana Cloud 9.3+")
16-
testutils.CheckCloudInstanceTestsEnabled(t)
15+
testutils.CheckEnterpriseTestsEnabled(t)
1716

1817
datasourceID := int64(-1)
1918

internal/resources/grafana/resource_report_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313
)
1414

1515
func TestAccResourceReport(t *testing.T) {
16-
testutils.CheckCloudInstanceTestsEnabled(t)
16+
testutils.CheckEnterpriseTestsEnabled(t)
1717

1818
var report gapi.Report
1919

@@ -98,7 +98,7 @@ func TestAccResourceReport(t *testing.T) {
9898
// Testing the deprecated case of using a dashboard ID instead of a dashboard UID
9999
// TODO: Remove in next major version
100100
func TestAccResourceReport_CreateFromDashboardID(t *testing.T) {
101-
testutils.CheckCloudInstanceTestsEnabled(t)
101+
testutils.CheckEnterpriseTestsEnabled(t)
102102

103103
var report gapi.Report
104104

0 commit comments

Comments
 (0)