-
Notifications
You must be signed in to change notification settings - Fork 40.1k
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
Horizontal Pod Autoscaling e2e tests #13640
Horizontal Pod Autoscaling e2e tests #13640
Conversation
Labelling this PR as size/L |
GCE e2e build/test failed for commit c99b1f51939b25876eeb62f364dc51d050b00627. |
c99b1f5
to
e0f7a40
Compare
GCE e2e build/test failed for commit e0f7a404533b669f7c9725d9785b3f50c23c0625. |
} | ||
|
||
func (rc *ConsumingRC) ReplicasEqual(desiredReplicas int) { | ||
Logf("REPLICAS: %d", rc.GetReplicas()) |
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.
Make this log more readable.
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.
done
e0f7a40
to
9070391
Compare
PTAL |
9070391
to
06ca49c
Compare
GCE e2e build/test passed for commit 907039119e7cabdfb18b55686903df9b95a3e5bd. |
GCE e2e build/test failed for commit 06ca49c9bd97b30c29d5ed4ba9ab2e536c22ebd5. |
return replicationController.Status.Replicas | ||
} | ||
|
||
func (rc *ResourceConsumer) ReplicasEqual(desiredReplicas int) { |
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.
I would call this WaitForReplicas
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.
done
The tests seems to be broken: hack/verify-boilerplate.sh |
06ca49c
to
3ddbb7d
Compare
PTAL |
GCE e2e build/test passed for commit 3ddbb7d. |
LGTM |
Horizontal Pod Autoscaling e2e tests
rc.stop <- 0 | ||
expectNoError(DeleteRC(rc.framework.Client, rc.framework.Namespace.Name, rc.name)) | ||
expectNoError(rc.framework.Client.Services(rc.framework.Namespace.Name).Delete(rc.name)) | ||
expectNoError(rc.framework.Client.Experimental().HorizontalPodAutoscalers(rc.framework.Namespace.Name).Delete(rc.name, api.NewDeleteOptions(0))) |
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.
@socaa This is a very bad pattern when you clean up here resources created by someone else. Please move this call to test/e2e/horizontal_pod_autoscaling.go
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.
Horizontal Pod Autoscaler is deleted along with namespace (changes in new PR: #13786 )
Part of #12087. |
Part of #11570
@piosz
@jszczepkowski