From 9adf7b87487444477ae32f29205a785076a07f82 Mon Sep 17 00:00:00 2001 From: Nathan McKinley Date: Thu, 14 May 2020 13:12:18 -0700 Subject: [PATCH] Fix node pool tests. (#3475) --- .../tests/resource_container_node_pool_test.go.erb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/third_party/terraform/tests/resource_container_node_pool_test.go.erb b/third_party/terraform/tests/resource_container_node_pool_test.go.erb index 6d83b8cc3b33..12595c844e17 100644 --- a/third_party/terraform/tests/resource_container_node_pool_test.go.erb +++ b/third_party/terraform/tests/resource_container_node_pool_test.go.erb @@ -572,9 +572,14 @@ func TestAccContainerNodePool_resize(t *testing.T) { }) } + func TestAccContainerNodePool_version(t *testing.T) { t.Parallel() + // Re-enable this test when there is more than one acceptable node pool version + // for the current master version + t.Skip() + cluster := fmt.Sprintf("tf-test-cluster-%s", randString(t, 10)) np := fmt.Sprintf("tf-test-nodepool-%s", randString(t, 10)) @@ -1367,7 +1372,6 @@ resource "google_container_cluster" "cluster" { name = "%s" location = "us-central1-c" initial_node_count = 1 - node_version = data.google_container_engine_versions.central1c.latest_node_version min_master_version = data.google_container_engine_versions.central1c.latest_master_version }