-
Notifications
You must be signed in to change notification settings - Fork 39.8k
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: handle nil ReplicaSet in checkDeploymentRevision #44859
Conversation
deploymentutil.GetNewReplicaSet is allowed to return nil.
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kargakis, sttts
Needs approval from an approver in each of these OWNERS Files:
You can indicate your approval by writing |
@k8s-bot gce etcd3 e2e test this |
Automatic merge from submit-queue (batch tested with PRs 44788, 44859) |
@sttts did you see this flake anywhere? I have made a similar change in #44871 and the test fails with:
|
Well, the change is a bit different but assuming that when rs is nil and |
@Kargakis haven't seen that flake. Only saw a nil pointer panic before this PR. Now it causes a test error. |
deploymentutil.GetNewReplicaSet is allowed to return nil.