Skip to content

Commit

Permalink
Fix GKE tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arybolovlev committed Oct 13, 2023
1 parent dffa2cb commit f8cdf00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kubernetes/data_source_kubernetes_service_v1_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func TestAccKubernetesDataSourceServiceV1_basic(t *testing.T) {
ProviderFactories: testAccProviderFactories,
Steps: []resource.TestStep{
{
Config: testAccKubernetesDataSourceServiceV1_basic(name),
Config: testAccKubernetesConfig_ignoreAnnotations() + testAccKubernetesDataSourceServiceV1_basic(name),
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr(resourceName, "metadata.0.name", name),
resource.TestCheckResourceAttrSet(resourceName, "metadata.0.generation"),
Expand Down Expand Up @@ -49,7 +49,7 @@ func TestAccKubernetesDataSourceServiceV1_basic(t *testing.T) {
),
},
{
Config: testAccKubernetesDataSourceServiceV1_basic(name) +
Config: testAccKubernetesConfig_ignoreAnnotations() + testAccKubernetesDataSourceServiceV1_basic(name) +
testAccKubernetesDataSourceServiceV1_read(),
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttr(dataSourceName, "metadata.0.name", name),
Expand Down

0 comments on commit f8cdf00

Please sign in to comment.