Skip to content

Commit

Permalink
Merge pull request hashicorp#11201 from ms-henglu/branch-00000-fix-k8…
Browse files Browse the repository at this point in the history
…s-cluster-acc-tests

fix kubernates cluster acc tests
  • Loading branch information
tombuildsstuff authored Apr 7, 2021
2 parents 53565d5 + eadab7b commit 822a2d3
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -434,21 +434,21 @@ func testAccKubernetesClusterNodePool_nodeLabels(t *testing.T) {
{
Config: r.nodeLabelsConfig(data, labels1),
Check: resource.ComposeTestCheckFunc(
check.That(data.ResourceName).Key("node_labels.#").HasValue("1"),
check.That(data.ResourceName).Key("node_labels.%").HasValue("1"),
check.That(data.ResourceName).Key("node_labels.key").HasValue("value"),
),
},
{
Config: r.nodeLabelsConfig(data, labels2),
Check: resource.ComposeTestCheckFunc(
check.That(data.ResourceName).Key("node_labels.#").HasValue("1"),
check.That(data.ResourceName).Key("node_labels.%").HasValue("1"),
check.That(data.ResourceName).Key("node_labels.key2").HasValue("value2"),
),
},
{
Config: r.nodeLabelsConfig(data, labels3),
Check: resource.ComposeTestCheckFunc(
check.That(data.ResourceName).Key("node_labels.#").HasValue("0"),
check.That(data.ResourceName).Key("node_labels.%").HasValue("0"),
),
},
})
Expand Down Expand Up @@ -1591,7 +1591,7 @@ resource "azurerm_kubernetes_cluster" "test" {
windows_profile {
admin_username = "azureuser"
admin_password = "P@55W0rd1234!"
admin_password = "P@55W0rd1234!h@2h1C0rP"
}
network_profile {
Expand Down

0 comments on commit 822a2d3

Please sign in to comment.