From 2c91e42c8f64095918abe902a5a1a04846d40631 Mon Sep 17 00:00:00 2001 From: Zhenhua Li Date: Fri, 20 Sep 2024 09:34:34 -0700 Subject: [PATCH] Fix test TestAccDataflowJob_withProviderDefaultLabels (#11757) --- .../dataflow/resource_dataflow_job_test.go.erb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/mmv1/third_party/terraform/services/dataflow/resource_dataflow_job_test.go.erb b/mmv1/third_party/terraform/services/dataflow/resource_dataflow_job_test.go.erb index 9c31218c3647..9fbd702443fb 100644 --- a/mmv1/third_party/terraform/services/dataflow/resource_dataflow_job_test.go.erb +++ b/mmv1/third_party/terraform/services/dataflow/resource_dataflow_job_test.go.erb @@ -280,12 +280,12 @@ func TestAccDataflowJob_withProviderDefaultLabels(t *testing.T) { resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.env", "foo"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_expiration_ms", "3600000"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "3"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "4"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_key1", "default_value1"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.env", "foo"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_expiration_ms", "3600000"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "6"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "7"), ), }, { @@ -302,12 +302,12 @@ func TestAccDataflowJob_withProviderDefaultLabels(t *testing.T) { resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_expiration_ms", "3600000"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_key1", "value1"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "3"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "4"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_key1", "value1"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.env", "foo"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_expiration_ms", "3600000"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "6"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "7"), ), }, { @@ -325,12 +325,12 @@ func TestAccDataflowJob_withProviderDefaultLabels(t *testing.T) { resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_expiration_ms", "3600000"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_key1", "value1"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "3"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "4"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_key1", "value1"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.env", "foo"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_expiration_ms", "3600000"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "6"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "7"), ), }, { @@ -347,12 +347,12 @@ func TestAccDataflowJob_withProviderDefaultLabels(t *testing.T) { resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_expiration_ms", "3600000"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "labels.default_key1", "value1"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "3"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.%", "4"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_key1", "value1"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.env", "foo"), resource.TestCheckResourceAttr("google_dataflow_job.big_data", "terraform_labels.default_expiration_ms", "3600000"), - resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "6"), + resource.TestCheckResourceAttr("google_dataflow_job.big_data", "effective_labels.%", "7"), ), }, {