Skip to content

Commit 868e4ef

Browse files
Skip terraform tests if no go files were changed in the downstream (#5026) (#3476)
* Skip terraform tests if no go files were changed in the downstream * Switched to checking the diff locally instead of making a separate API request Signed-off-by: Modular Magician <[email protected]>
1 parent ca4d234 commit 868e4ef

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.changelog/5026.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
```release-note:none
2+
3+
```

google-beta/resource_dataproc_cluster_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ import (
1313
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1414
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
1515

16-
"google.golang.org/api/googleapi"
17-
1816
dataproc "google.golang.org/api/dataproc/v1beta2"
17+
"google.golang.org/api/googleapi"
1918
)
2019

2120
func TestDataprocExtractInitTimeout(t *testing.T) {

0 commit comments

Comments
 (0)