Skip to content

Commit

Permalink
Disable state verification for import test cases with usage of deprec…
Browse files Browse the repository at this point in the history
…ated template pod spec fields
  • Loading branch information
pdecat committed Nov 14, 2018
1 parent f6d99fd commit 8628222
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,9 @@ func TestAccKubernetesReplicationController_deprecated_importBasic(t *testing.T)
Config: testAccKubernetesReplicationControllerConfig_deprecated_basic(name),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"metadata.0.resource_version"},
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: false,
},
},
})
Expand Down Expand Up @@ -160,10 +159,9 @@ func TestAccKubernetesReplicationController_deprecated_importGeneratedName(t *te
Config: testAccKubernetesReplicationControllerConfig_deprecated_generatedName(prefix),
},
{
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"metadata.0.resource_version"},
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: false,
},
},
})
Expand Down

0 comments on commit 8628222

Please sign in to comment.