Skip to content

Commit b8032f5

Browse files
committed
Disable state verification for import test cases with usage of deprecated templace pod spec fields
1 parent 32432ef commit b8032f5

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

kubernetes/resource_kubernetes_replication_controller_deprecated_test.go

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -108,10 +108,9 @@ func TestAccKubernetesReplicationController_deprecated_importBasic(t *testing.T)
108108
Config: testAccKubernetesReplicationControllerConfig_deprecated_basic(name),
109109
},
110110
{
111-
ResourceName: resourceName,
112-
ImportState: true,
113-
ImportStateVerify: true,
114-
ImportStateVerifyIgnore: []string{"metadata.0.resource_version"},
111+
ResourceName: resourceName,
112+
ImportState: true,
113+
ImportStateVerify: false,
115114
},
116115
},
117116
})
@@ -160,10 +159,9 @@ func TestAccKubernetesReplicationController_deprecated_importGeneratedName(t *te
160159
Config: testAccKubernetesReplicationControllerConfig_deprecated_generatedName(prefix),
161160
},
162161
{
163-
ResourceName: resourceName,
164-
ImportState: true,
165-
ImportStateVerify: true,
166-
ImportStateVerifyIgnore: []string{"metadata.0.resource_version"},
162+
ResourceName: resourceName,
163+
ImportState: true,
164+
ImportStateVerify: false,
167165
},
168166
},
169167
})

0 commit comments

Comments
 (0)