Skip to content

test: add e2e TestEtcdClusterUpgrade - #513

Open
silentred wants to merge 1 commit into
etcd-io:mainfrom
silentred:e2e-upgrade
Open

silentred wants to merge 1 commit into
etcd-io:mainfrom
silentred:e2e-upgrade

Conversation

@silentred

Copy link
Copy Markdown
Member

Resolves #470
We need to unskip TestEtcdClusterUpgrade after Recreating workflow is implemented.

/cc @ahrtr @GunaKKIBM

@kubernetes-prow
kubernetes-prow Bot requested a review from ahrtr September 16, 2026 12:10
@kubernetes-prow

Copy link
Copy Markdown

@silentred: GitHub didn't allow me to request PR reviews from the following users: GunaKKIBM.

Note that only etcd-io members and repo collaborators can review this PR, and authors cannot review their own PRs.

Details

In response to this:

Resolves #470
We need to unskip TestEtcdClusterUpgrade after Recreating workflow is implemented.

/cc @ahrtr @GunaKKIBM

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@kubernetes-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: silentred
Once this PR has been reviewed and has the lgtm label, please assign ivanvc for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Comment thread test/e2e/upgrade_test.go Outdated
Signed-off-by: shenmu.wy <shenmu.wy@antfin.com>
Comment thread test/e2e/upgrade_test.go
// Layer 2 (observed): the live probe reports the version etcd itself
// advertises — v-less ("3.6.12") — so compare both sides normalized.
if m.Status.Phase != ecv1alpha1.EtcdMemberReady ||
strings.TrimPrefix(m.Status.CurrentVersion, "v") != strings.TrimPrefix(tc.toVersion, "v") {

@silentred silentred Sep 18, 2026

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not correct. should compare with m.Spec.Version

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support upgrade case

2 participants