Skip to content

Commit 5d67705

Browse files
alexottnkvuong
authored andcommitted
[Internal] Enable Apps integration test on GCP
Apps are now available on GCP, so it makes sense to enable tests there as well NO_CHANGELOG=true
1 parent fe03d96 commit 5d67705

File tree

4 files changed

+0
-15
lines changed

4 files changed

+0
-15
lines changed

internal/providers/pluginfw/products/app/data_app_acc_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,6 @@ const fastApp = `
3333

3434
func TestAccAppDataSource(t *testing.T) {
3535
acceptance.LoadWorkspaceEnv(t)
36-
if acceptance.IsGcp(t) {
37-
acceptance.Skipf(t)("not available on GCP")
38-
}
3936
acceptance.WorkspaceLevel(t, acceptance.Step{
4037
Template: fastApp + `
4138
data "databricks_app" "this" {

internal/providers/pluginfw/products/app/data_apps_acc_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ import (
88

99
func TestAccAppsDataSource(t *testing.T) {
1010
acceptance.LoadWorkspaceEnv(t)
11-
if acceptance.IsGcp(t) {
12-
acceptance.Skipf(t)("not available on GCP")
13-
}
1411
acceptance.WorkspaceLevel(t, acceptance.Step{
1512
Template: `
1613
data "databricks_apps" "this" { }

internal/providers/pluginfw/products/app/resource_app_acc_test.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,6 @@ is required`)),
122122
func TestAccAppResource(t *testing.T) {
123123
var updateTime string
124124
acceptance.LoadWorkspaceEnv(t)
125-
if acceptance.IsGcp(t) {
126-
acceptance.Skipf(t)("not available on GCP")
127-
}
128125
acceptance.WorkspaceLevel(t, acceptance.Step{
129126
Template: makeTemplate("My app"),
130127
Check: func(s *terraform.State) error {
@@ -150,9 +147,6 @@ func TestAccAppResource(t *testing.T) {
150147

151148
func TestAccAppResource_NoCompute(t *testing.T) {
152149
acceptance.LoadWorkspaceEnv(t)
153-
if acceptance.IsGcp(t) {
154-
acceptance.Skipf(t)("not available on GCP")
155-
}
156150
acceptance.WorkspaceLevel(t, acceptance.Step{
157151
Template: `
158152
resource "databricks_secret_scope" "this" {

permissions/permissions_test.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -991,9 +991,6 @@ func TestAccPermissions_Query(t *testing.T) {
991991

992992
func TestAccPermissions_App(t *testing.T) {
993993
acceptance.LoadDebugEnvIfRunsFromIDE(t, "workspace")
994-
if acceptance.IsGcp(t) {
995-
acceptance.Skipf(t)("not available on GCP")
996-
}
997994
queryTemplate := `
998995
resource "databricks_app" "this" {
999996
name = "{var.RANDOM}"

0 commit comments

Comments
 (0)