Skip to content

[3.4] tests/e2e: backport WaitLeader#17398

Merged
ahrtr merged 1 commit into
etcd-io:release-3.4from
ivanvc:3.4-backport-e2e-waitleader
Feb 9, 2024
Merged

[3.4] tests/e2e: backport WaitLeader#17398
ahrtr merged 1 commit into
etcd-io:release-3.4from
ivanvc:3.4-backport-e2e-waitleader

Conversation

@ivanvc

@ivanvc ivanvc commented Feb 9, 2024

Copy link
Copy Markdown
Member

Similar to #17381, backports e2e WaitLeader into 3.4.

Relates to #16822, #15247

Please read https://github.com/etcd-io/etcd/blob/main/CONTRIBUTING.md#contribution-flow.

Add Etcdctl function to etcdProcess interface, and implement it in
etcdServerProcess, which is used by WaitMembersForLeader.

Define Etcdctl's Status function, that is used by WaitMembersForLeader
too.

Signed-off-by: Ivan Valdes <ivan@vald.es>
@k8s-ci-robot

Copy link
Copy Markdown

Hi @ivanvc. Thanks for your PR.

I'm waiting for a etcd-io member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.

Once the patch is verified, the new status will be reflected by the ok-to-test label.

I understand the commands that are listed here.

Details

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/test-infra repository.

@ahrtr

ahrtr commented Feb 9, 2024

Copy link
Copy Markdown
Member

/ok-to-test

@ahrtr ahrtr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

lgtm

Nice work, Thank you! @ivanvc

@ahrtr ahrtr merged commit 380175a into etcd-io:release-3.4 Feb 9, 2024
@ivanvc ivanvc deleted the 3.4-backport-e2e-waitleader branch February 9, 2024 15:21
ivanvc added a commit to ivanvc/etcd that referenced this pull request Feb 20, 2024
Fixes the incorrect backport of WaitLeader, as spawnJsonCmd receives an
expected output string as an argument, which wasn't provided in the
first backport implementation.

Original backport of commit 371179e from
PR etcd-io#17398.

Signed-off-by: Ivan Valdes <ivan@vald.es>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants