Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[WIP]backport pkg/expect enhancements from main #18051

Open
wants to merge 3 commits into
base: release-3.5
Choose a base branch
from

Conversation

ArkaSaha30
Copy link
Contributor

This PR will backport pkg/expect enhancements from main to LTS branch release-3.5 to keep the test framework consistent.

Issue: #17869

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

@k8s-ci-robot
Copy link

Hi @ArkaSaha30. 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.

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.

@ArkaSaha30 ArkaSaha30 changed the title backport pkg/expect enhancements from main [WIP]backport pkg/expect enhancements from main May 22, 2024
@ArkaSaha30 ArkaSaha30 force-pushed the backport-pkg-expect-enhancements branch 3 times, most recently from 70726c4 to d9615e2 Compare May 23, 2024 12:12
…ead of SIGKILL

Signed-off-by: Eval EXEC <[email protected]>
Signed-off-by: ArkaSaha30 <[email protected]>
@ArkaSaha30 ArkaSaha30 force-pushed the backport-pkg-expect-enhancements branch from d9615e2 to 4f33d5b Compare May 23, 2024 12:22
Fixes issue 14275, flakes close to timeout like TestKVDelete.

Signed-off-by: Thomas Jungblut <[email protected]>
Signed-off-by: ArkaSaha30 <[email protected]>
This should aid in debugging test flakes, especially in tests where the process is restarted very often and thus changes its pid.
Now it's a lot easier to grep for different members, also when different tests fail at the same time.
The test TestDowngradeUpgradeClusterOf3 as mentioned in etcd-io#13167 is a good example for that.

Signed-off-by: Thomas Jungblut <[email protected]>
@fuweid fuweid self-requested a review May 27, 2024 09:07
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