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

[e2e] abstract common methods #1517

Merged
merged 1 commit into from
Sep 20, 2024

Conversation

fanhaouu
Copy link
Contributor

abstract and aggregate some common methods in E2E tests to avoid redundancy.

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Sep 12, 2024
@k8s-ci-robot
Copy link
Contributor

Hi @fanhaouu. Thanks for your PR.

I'm waiting for a kubernetes-sigs 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.

@k8s-ci-robot k8s-ci-robot added needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files. labels Sep 12, 2024
@fanhaouu
Copy link
Contributor Author

@ingvagabund Hi, master, this is the second of the splited PRs. Need your ok-to-test.

@a7i
Copy link
Contributor

a7i commented Sep 12, 2024

/ok-to-test

great change 🏆

@k8s-ci-robot k8s-ci-robot added ok-to-test Indicates a non-member PR verified by an org member that is safe to test. and removed needs-ok-to-test Indicates a PR that requires an org member to verify it is safe to test. labels Sep 12, 2024
@fanhaouu
Copy link
Contributor Author

/ok-to-test

great change 🏆

thank you, master

@fanhaouu fanhaouu force-pushed the e2e-common-method branch 2 times, most recently from b347be5 to 2ddbc49 Compare September 13, 2024 17:51
Copy link
Contributor

@ingvagabund ingvagabund left a comment

Choose a reason for hiding this comment

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

Few nits. The rest looks good. Thank you :)

test/e2e/e2e_test.go Outdated Show resolved Hide resolved
@ingvagabund
Copy link
Contributor

/retest-required

@fanhaouu
Copy link
Contributor Author

/test pull-descheduler-verify-master

@fanhaouu
Copy link
Contributor Author

fanhaouu commented Sep 20, 2024

@ingvagabund hi, master, thank you for your careful and patient review. All the test cases have been passed.

@fanhaouu
Copy link
Contributor Author

@a7i @ingvagabund Hi, master, how can I apply for the ok-to-test permission? I have quite a few MRs coming up, and I hope to have that permission.

@ingvagabund
Copy link
Contributor

how can I apply for the ok-to-test permission?

Hey @fanhaouu :) You need to be a member of kubernetes-sigs organization.

@ingvagabund
Copy link
Contributor

/approve
/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Sep 20, 2024
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ingvagabund

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

The pull request process is described here

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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Sep 20, 2024
@k8s-ci-robot k8s-ci-robot merged commit 18ef695 into kubernetes-sigs:master Sep 20, 2024
8 checks passed
@ingvagabund
Copy link
Contributor

ingvagabund commented Sep 23, 2024

Hello @fanhaouu. There's a list of requirements that needs to be meet: https://github.com/kubernetes/community/blob/master/community-membership.md#requirements. Every project may adjust the set of requirements for becoming a member. Some projects with low traffic do not allow to produce and review many PRs so we need to compensate. I see you have 6 merged PRs already at https://github.com/kubernetes-sigs/descheduler/pulls?q=is%3Apr+author%3Afanhaouu+is%3Aclosed. I'd like to see some technical reviews produced as well. Unless you have already done these :). Links to these PRs will be much appreciated. Other than that I am happy to sponsor you.

@fanhaouu
Copy link
Contributor Author

fanhaouu commented Sep 23, 2024

Hello @fanhaouu. There's a list of requirements that needs to be meet: https://github.com/kubernetes/community/blob/master/community-membership.md#requirements. Every project may adjust the set of requirements for becoming a member. Some projects with low traffic do not allow to produce and review many PRs so we need to compensate. I see you have 6 merged PRs already at https://github.com/kubernetes-sigs/descheduler/pulls?q=is%3Apr+author%3Afanhaouu+is%3Aclosed. I'd like to see some technical reviews produced as well. Unless you have already done these :). Links to these PRs will be much appreciated. Other than that I am happy to sponsor you.

like this?review PR?
#1366
#1092 (comment)

@ingvagabund
Copy link
Contributor

ingvagabund commented Sep 23, 2024

@fanhaouu that's a good start. PR reviews from both orgs (kubernetes, kubernetes-sigs) counts as well. If there are other projects you can refer to.

@fanhaouu
Copy link
Contributor Author

@fanhaouu that's a good start. PR reviews from both orgs (kubernetes, kubernetes-sigs) counts as well. If there are other projects you can refer to.

kubernetes/kubernetes#120661 (comment)

@fanhaouu
Copy link
Contributor Author

haha, I don't even have permission to do ok-to-test, so I rarely review k8s/k8s sig code.

@ingvagabund
Copy link
Contributor

I could use review help with #1466.

@fanhaouu
Copy link
Contributor Author

Please ignore my previous rash and unreasonable request; I have deleted it and I apologize for that. @a7i @ingvagabund

@ingvagabund
Copy link
Contributor

No worries :) This week was kinda wild. I had to focus on different areas. I am slowly getting back to resume reviews and other activities in the project :) Thank you for the other review. I will take a look at it.

@ingvagabund
Copy link
Contributor

@fanhaouu feel free to ask for the membership. I will sponsor you. Thanks for keeping up the good work.

@fanhaouu
Copy link
Contributor Author

fanhaouu commented Oct 8, 2024

@fanhaouu feel free to ask for the membership. I will sponsor you. Thanks for keeping up the good work.

thank you, master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. ok-to-test Indicates a non-member PR verified by an org member that is safe to test. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants