From cc65fd00911acb0a65e4d07b9c8fc4325e015eb0 Mon Sep 17 00:00:00 2001 From: The Magician Date: Fri, 26 Feb 2021 13:11:05 -0800 Subject: [PATCH] fix test failures (#4538) (#3004) Signed-off-by: Modular Magician --- .changelog/4538.txt | 3 +++ google-beta/resource_container_node_pool_test.go | 4 ++++ google-beta/resource_dataflow_flex_template_job_test.go | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .changelog/4538.txt diff --git a/.changelog/4538.txt b/.changelog/4538.txt new file mode 100644 index 0000000000..8ec013c069 --- /dev/null +++ b/.changelog/4538.txt @@ -0,0 +1,3 @@ +```release-note:none + +``` diff --git a/google-beta/resource_container_node_pool_test.go b/google-beta/resource_container_node_pool_test.go index 8e7406ffe8..3d47f4ae81 100644 --- a/google-beta/resource_container_node_pool_test.go +++ b/google-beta/resource_container_node_pool_test.go @@ -1741,6 +1741,7 @@ resource "google_container_node_pool" "np" { count = 1 type = "nvidia-tesla-p100" } + machine_type = "n1-highmem-4" } } `, cluster, np) @@ -1786,6 +1787,7 @@ resource "google_container_node_pool" "np" { count = 0 type = "nvidia-tesla-p100" } + machine_type = "n1-highmem-4" } } `, cluster, np) @@ -1815,6 +1817,7 @@ resource "google_container_node_pool" "np" { count = %d type = "nvidia-tesla-p100" } + machine_type = "n1-highmem-4" } } `, cluster, np, count) @@ -1849,6 +1852,7 @@ resource "google_container_node_pool" "np" { count = 1 type = "nvidia-tesla-p9000" } + machine_type = "n1-highmem-4" } } `, cluster, np) diff --git a/google-beta/resource_dataflow_flex_template_job_test.go b/google-beta/resource_dataflow_flex_template_job_test.go index df04d28bb0..0d037482e0 100644 --- a/google-beta/resource_dataflow_flex_template_job_test.go +++ b/google-beta/resource_dataflow_flex_template_job_test.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" - "google.golang.org/api/compute/v1" + compute "google.golang.org/api/compute/v1" ) func TestAccDataflowFlexTemplateJob_basic(t *testing.T) {