Skip to content

Commit 681cbdc

Browse files
Added tf-test prefix to negId and made network endpoints API endpoint match the version we're testing (#4760) (#3226)
Signed-off-by: Modular Magician <[email protected]>
1 parent caac3c5 commit 681cbdc

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.changelog/4760.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_compute_network_endpoint_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ func TestAccComputeNetworkEndpoint_networkEndpointsBasic(t *testing.T) {
2020
"add1_port": 101,
2121
"add2_port": 102,
2222
}
23-
negId := fmt.Sprintf("projects/%s/zones/%s/networkEndpointGroups/neg-%s",
23+
negId := fmt.Sprintf("projects/%s/zones/%s/networkEndpointGroups/tf-test-neg-%s",
2424
getTestProjectFromEnv(), getTestZoneFromEnv(), context["random_suffix"])
2525

2626
vcrTest(t, resource.TestCase{

google-beta/resource_dataflow_flex_template_job_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource"
1010
"github.com/hashicorp/terraform-plugin-sdk/v2/terraform"
11-
"google.golang.org/api/compute/v1"
11+
compute "google.golang.org/api/compute/v1"
1212
)
1313

1414
func TestAccDataflowFlexTemplateJob_basic(t *testing.T) {

0 commit comments

Comments
 (0)