Skip to content

Commit

Permalink
removed state_verify_ignore for wait_timeout_minutes in karbon
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatavivek-ntnx committed Feb 9, 2022
1 parent 2bc76d4 commit 30f781a
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions nutanix/resource_nutanix_access_control_policy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ func TestAccNutanixAccessControlPolicy_basic(t *testing.T) {
description := "Description of my access control policy"
nameUpdated := acctest.RandomWithPrefix("accest-access-policy")
descriptionUpdated := "Description of my access control policy updated"
// WaitTimeout ;=

resource.Test(t, resource.TestCase{
PreCheck: func() { testAccPreCheck(t) },
Expand Down
14 changes: 7 additions & 7 deletions nutanix/resource_nutanix_karbon_cluster_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func TestAccNutanixKarbonCluster_basic(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config", "wait_timeout_minutes"}, //Wil be fixed on future API versions
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config"}, //Wil be fixed on future API versions
},
},
})
Expand Down Expand Up @@ -95,7 +95,7 @@ func TestAccNutanixKarbonCluster_scaleDown(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config", "wait_timeout_minutes"}, //Wil be fixed on future API versions
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config"}, //Wil be fixed on future API versions
},
},
})
Expand Down Expand Up @@ -140,7 +140,7 @@ func TestAccNutanixKarbonCluster_updateCNI(t *testing.T) {
ResourceName: resourceName,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config", "wait_timeout_minutes"}, //Wil be fixed on future API versions
ImportStateVerifyIgnore: []string{"version", "master_node_pool", "worker_node_pool", "storage_class_config"} //Wil be fixed on future API versions
},
},
})
Expand Down Expand Up @@ -196,17 +196,17 @@ func testAccNutanixKarbonClusterConfig(subnetName string, r int, containter stri
cni = "%s"
master_vip = ""
}
data "nutanix_clusters" "clusters" {}
data "nutanix_subnet" "karbon_subnet" {
subnet_name = "%s"
}
resource "nutanix_karbon_cluster" "cluster" {
name = "test-karbon-%d"
version = "1.16.13-0"
dynamic "active_passive_config" {
for_each = local.deployment_type == "active-passive" ? [1] : []
content {
Expand All @@ -227,7 +227,7 @@ func testAccNutanixKarbonClusterConfig(subnetName string, r int, containter stri
}
}
}
storage_class_config {
reclaim_policy = "Delete"
volumes_config {
Expand Down

0 comments on commit 30f781a

Please sign in to comment.