Skip to content

Commit 897e1a5

Browse files
Ignore node pool changes in GKE NAP test (#8234) (#5840)
Signed-off-by: Modular Magician <[email protected]>
1 parent 053bb8b commit 897e1a5

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.changelog/8234.txt

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

google-beta/resource_container_cluster_test.go

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3056,10 +3056,13 @@ func TestAccContainerCluster_nodeAutoprovisioningDefaultsBootDiskKmsKey(t *testi
30563056
Config: testAccContainerCluster_autoprovisioningDefaultsBootDiskKmsKey(clusterName, kms.CryptoKey.Name),
30573057
},
30583058
{
3059-
ResourceName: "google_container_cluster.nap_boot_disk_kms_key",
3060-
ImportState: true,
3061-
ImportStateVerify: true,
3062-
ImportStateVerifyIgnore: []string{"min_master_version"},
3059+
ResourceName: "google_container_cluster.nap_boot_disk_kms_key",
3060+
ImportState: true,
3061+
ImportStateVerify: true,
3062+
ImportStateVerifyIgnore: []string{
3063+
"min_master_version",
3064+
"node_pool", // cluster_autoscaling (node auto-provisioning) creates new node pools automatically
3065+
},
30633066
},
30643067
},
30653068
})

0 commit comments

Comments
 (0)