Skip to content

Commit

Permalink
importstateid corrected on compute network endpoint group tests (#9124)
Browse files Browse the repository at this point in the history
Signed-off-by: Modular Magician <[email protected]>
  • Loading branch information
modular-magician committed Sep 29, 2023
1 parent 5887195 commit cbb8b88
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .changelog/9124.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
```release-note:none

```
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) {
ResourceName: "google_compute_network_endpoints.default",
ImportState: true,
ImportStateVerify: true,
ImportStateId: negId,
},
{
// Force-recreate old endpoint
Expand All @@ -57,6 +58,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) {
ResourceName: "google_compute_network_endpoints.default",
ImportState: true,
ImportStateVerify: true,
ImportStateId: negId,
},
{
// Add four new endpoints
Expand All @@ -66,6 +68,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) {
ResourceName: "google_compute_network_endpoints.default",
ImportState: true,
ImportStateVerify: true,
ImportStateId: negId,
},
{
// Add enough endpoints to trigger pagination
Expand All @@ -75,6 +78,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) {
ResourceName: "google_compute_network_endpoints.default",
ImportState: true,
ImportStateVerify: true,
ImportStateId: negId,
},
{
// Remove enough endpoints to trigger pagination
Expand All @@ -84,6 +88,7 @@ func TestAccComputeNetworkEndpoints_networkEndpointsBasic(t *testing.T) {
ResourceName: "google_compute_network_endpoints.default",
ImportState: true,
ImportStateVerify: true,
ImportStateId: negId,
},
{
// delete all endpoints
Expand Down

0 comments on commit cbb8b88

Please sign in to comment.