-
Notifications
You must be signed in to change notification settings - Fork 38.7k
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
Add e2e test for HPA behavior: decreased downscale stabilization #108264
Add e2e test for HPA behavior: decreased downscale stabilization #108264
Conversation
@pbetkier: This issue is currently awaiting triage. If a SIG or subproject determines this is a relevant issue, they will accept it by applying the The 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. |
Hi @pbetkier. 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. |
What is different from the existing tests of https://github.com/kubernetes/kubernetes/blob/b917653296b6fcac2220afb3ef4f8ed50a2025a2/test/e2e/autoscaling/horizontal_pod_autoscaling.go ? /cc @oomichi |
The tests in The behavior tests are meant to verify exactly how the state was reached, exercising various configuration options of the behavior spec. This test here is about downscale stabilization period (note the The test setups for |
e250776
to
da266e1
Compare
Rebased to contain #108104 and addressed comments from @jbartosik. |
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.
/lgtm
/approve
/ok-to-test |
/remove-lgtm let's wait for tests |
/lgtm cancel |
/retest |
1 similar comment
/retest |
I'm going to rebase. I've seen other PRs also fail on these conformance tests before. Note that my changes don't touch code used in conformance. |
da266e1
to
13c3f09
Compare
/retest |
@jbartosik finally the tests passed. |
/lgtm |
@oomichi could you have a look? |
@MaciekPytel could you have a look as a sig-autoscaling approver? |
@fejta could you approve as a sig-testing approver? |
/approve |
Can we please create an OWNERS file in https://github.com/kubernetes/kubernetes/tree/13c3f091a7d6e0dec6e329c9d511875aae337661/test/e2e/framework/autoscaling that allows the autoscaling team to approve autoscaling test framework PRs? /approve |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: fejta, jbartosik, MaciekPytel, pbetkier 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 |
Yes! I had this idea today as well. Will do. |
/kind feature |
What type of PR is this?
e2e test (what's the proper kind for this?)
What this PR does / why we need it:
Currently there are no e2e tests for HPA behavior. They are requested by #102369. More PRs will follow for other cases.
Which issue(s) this PR fixes:
Special notes for your reviewer:
Does this PR introduce a user-facing change?
Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.: