Skip to content

Commit 6ebafab

Browse files
authored
Merge pull request #3823 from Ankitasw/conformace-test-fix
[E2E] Use k8s version 1.24.4 in conformance test and increase control plane wait timeout for conformance and EKS tests
2 parents a0439eb + dd666c3 commit 6ebafab

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

test/e2e/data/e2e_conf.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ variables:
156156
AWS_NODE_MACHINE_TYPE: t3.large
157157
AWS_MACHINE_TYPE_VCPU_USAGE: 2
158158
AWS_SSH_KEY_NAME: "cluster-api-provider-aws-sigs-k8s-io"
159-
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "v1.24.0"
159+
CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION: "v1.24.4"
160160
CONFORMANCE_WORKER_MACHINE_COUNT: "5"
161161
CONFORMANCE_CONTROL_PLANE_MACHINE_COUNT: "1"
162162
ETCD_VERSION_UPGRADE_TO: "3.5.3-0"
@@ -180,7 +180,7 @@ intervals:
180180
default/wait-cluster: ["30m", "10s"]
181181
default/wait-control-plane: ["25m", "10s"]
182182
default/wait-worker-nodes: ["20m", "10s"]
183-
conformance/wait-control-plane: ["30m", "10s"]
183+
conformance/wait-control-plane: ["35m", "10s"]
184184
conformance/wait-worker-nodes: ["35m", "10s"]
185185
default/wait-controllers: ["5m", "10s"]
186186
default/wait-delete-cluster: ["20m", "10s"]

test/e2e/data/e2e_eks_conf.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ variables:
136136

137137
intervals:
138138
default/wait-cluster: ["30m", "10s"]
139-
default/wait-control-plane: ["30m", "10s"]
139+
default/wait-control-plane: ["35m", "10s"]
140140
default/wait-worker-nodes: ["30m", "10s"]
141141
default/wait-controllers: ["5m", "10s"]
142142
default/wait-delete-cluster: ["35m", "30s"]

test/e2e/shared/aws.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,8 +758,7 @@ func DumpCloudTrailEvents(e2eCtx *E2EContext) {
758758
// Kubernetes version in the e2econfig.
759759
func conformanceImageID(e2eCtx *E2EContext) string {
760760
ver := e2eCtx.E2EConfig.GetVariable("CONFORMANCE_CI_ARTIFACTS_KUBERNETES_VERSION")
761-
strippedVer := strings.Replace(ver, "v", "", 1)
762-
amiName := AMIPrefix + strippedVer + "*"
761+
amiName := AMIPrefix + ver + "*"
763762

764763
Byf("Searching for AMI: name=%s", amiName)
765764
ec2Svc := ec2.New(e2eCtx.AWSSession)

0 commit comments

Comments
 (0)