-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
fix: service CLI command not honoring --wait arg #15735
Conversation
|
Can one of the admins verify this patch? |
Welcome @elizabeth-dev! |
Hi @elizabeth-dev. Thanks for your PR. I'm waiting for a kubernetes member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the 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/test-infra repository. |
I found this while investigating issue #15644 , but it doesn't address the specific issue raised in there, so I didn't reference it in the PR. I read in the contributing docs that I should raise an issue before opening a PR, but since I already had a solution in mind, I decided to just go on with the PR. If an associated issue is really needed, I'll be happy to open it (and apologize for the caused inconveniences). |
a1abe3c
to
f51979f
Compare
Hi @elizabeth-dev, an issue is not necessary, there is a lint failure if you could fix that |
thank you for this contribution @elizabeth-dev I am excited to try this out, here is the lint issue that linter is complaining about:
|
@medyagh @spowelljr Yes, sorry, I meant to fix it, but I've been a bit busy these days and I haven't been able to open my personal laptop. I'll make the changes today. |
The minikube service <service> CLI command has a --wait argument documented that enabled the user to wait the given seconds for a service to be available in the cluster, but this was being ignored. The logic for waiting was already implemented, but was being overriden by an unneeded early return. I removed that, and added a test case that verifies this feature is working as intended, since it was untested.
f51979f
to
3f9c7f3
Compare
@medyagh @spowelljr Fixed it, sorry for the delay |
/ok-to-test |
kvm2 driver with docker runtime
Times for minikube start: 53.8s 52.7s 52.4s 52.7s 55.1s Times for minikube ingress: 30.3s 29.2s 27.3s 25.2s 26.3s docker driver with docker runtime
Times for minikube start: 27.3s 26.1s 25.9s 25.6s 25.8s Times for minikube ingress: 20.1s 21.1s 21.1s 82.6s 22.5s docker driver with containerd runtime
Times for minikube ingress: 31.6s 31.5s 31.5s 32.1s 31.6s Times for minikube start: 21.3s 22.3s 22.5s 22.5s 21.8s |
These are the flake rates of all failed tests.
To see the flake rates of all tests by environment, click here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thank you for fixing this issue, look forward to see more contributions from you
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: elizabeth-dev, medyagh 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 |
Thanks for the encouragement! I intend to do so in the future |
The minikube service CLI command has a --wait argument documented that enabled the user to wait the given seconds for a service to be available in the cluster, but this was being ignored.
The logic for waiting was already implemented, but was being overriden by an unneeded early return. I removed that, and added a test case that verifies this feature is working as intended, since it was untested.