Skip to content

Commit

Permalink
remove default value for drain_timeout_in_minutes for 4.0 and various…
Browse files Browse the repository at this point in the history
… test fixes
  • Loading branch information
stephybun committed May 30, 2024
1 parent c4d07c9 commit 2c3c917
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1172,7 +1172,6 @@ func upgradeSettingsSchema() *pluginsdk.Schema {
"drain_timeout_in_minutes": {
Type: pluginsdk.TypeInt,
Optional: true,
Default: 30,
},
"node_soak_duration_in_minutes": {
Type: pluginsdk.TypeInt,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -912,13 +912,6 @@ func TestAccKubernetesClusterNodePool_workloadRuntime(t *testing.T) {
),
},
data.ImportStep(),
{
Config: r.workloadRuntime(data, "WasmWasi"),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
),
},
data.ImportStep(),
{
Config: r.workloadRuntime(data, "KataMshvVmIsolation"),
Check: acceptance.ComposeTestCheckFunc(
Expand Down Expand Up @@ -2365,7 +2358,7 @@ resource "azurerm_kubernetes_cluster_node_pool" "test" {
vm_size = "Standard_DS2_v2"
enable_auto_scaling = true
min_count = 1
max_count = 1000
max_count = 399
node_count = 1
}
`, r.templateConfig(data))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1358,7 +1358,7 @@ resource "azurerm_kubernetes_cluster" "test" {
vm_size = "Standard_DS2_v2"
enable_auto_scaling = true
min_count = 1
max_count = 1000
max_count = 399
node_count = 1
upgrade_settings {
max_surge = "10%%"
Expand Down

0 comments on commit 2c3c917

Please sign in to comment.