Skip to content

Commit 325b947

Browse files
committed
Adding skip k8s upgrade for unit tests
1 parent f098717 commit 325b947

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

spectrocloud/resource_cluster_aws_expand_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ func TestToMachinePoolAws(t *testing.T) {
9191
IsControlPlane: false,
9292
Labels: []string{"worker"},
9393
NodeRepaveInterval: 10,
94+
SkipK8sUpgrade: types.Ptr("disabled"),
9495
UpdateStrategy: &models.V1UpdateStrategy{Type: "RollingUpdateScaleOut"},
9596
AdditionalLabels: map[string]string{},
9697
AdditionalAnnotations: map[string]string{},

spectrocloud/resource_cluster_aws_flatten_test.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ func TestFlattenMachinePoolConfigsAws(t *testing.T) {
6060
"disk_size_gb": 8,
6161
"az_subnets": map[string]string{"us-west-2d": "subnet-87654321"},
6262
"update_strategy": "RollingUpdateScaleOut",
63+
"skip_worker_node_update": "disabled",
6364
"additional_security_groups": []string{"sg-1234567890"},
6465
},
6566
},

0 commit comments

Comments
 (0)