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

🌱 Rewrite MHC tests to be consistent with rest of codebase #3219

Merged
merged 1 commit into from
Jun 19, 2020

Conversation

vincepri
Copy link
Member

Signed-off-by: Vince Prignano [email protected]

What this PR does / why we need it:

This PR rewrites the MHC tests to be consistent with the rest of the codebase, it makes sure that we don't reuse any objects between specs. The code can be improved, for example the generation of the fake and nodes could take a struct instead of arguments; but we can tackle this later. The main goal is to get rid of the flakes and clean this up.

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #3197

@k8s-ci-robot k8s-ci-robot added the cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. label Jun 19, 2020
@k8s-ci-robot k8s-ci-robot requested review from benmoss and detiber June 19, 2020 16:50
@vincepri vincepri changed the title 🌱 Rewrite MHC tests to be consistent with rest of codebase 🌱 Rewrite MHC tests to be consistent with rest of codebase Jun 19, 2020
@k8s-ci-robot k8s-ci-robot added the size/XL Denotes a PR that changes 500-999 lines, ignoring generated files. label Jun 19, 2020
@vincepri vincepri force-pushed the refactor-mhc-tests branch from a20d14f to cfeb09a Compare June 19, 2020 16:58
@vincepri vincepri force-pushed the refactor-mhc-tests branch from cfeb09a to e6161ff Compare June 19, 2020 17:05
@vincepri
Copy link
Member Author

Forgot to add 10s timeouts, fixed now

@vincepri
Copy link
Member Author

/test pull-cluster-api-test

1 similar comment
@vincepri
Copy link
Member Author

/test pull-cluster-api-test

@vincepri
Copy link
Member Author

Alright, :shipit:

@vincepri
Copy link
Member Author

/milestone v0.3.7

@k8s-ci-robot k8s-ci-robot added this to the v0.3.7 milestone Jun 19, 2020
@vincepri
Copy link
Member Author

/assign @randomvariable @fabriziopandini

@randomvariable
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jun 19, 2020
@vincepri
Copy link
Member Author

@detiber
for approval

@detiber
Copy link
Member

detiber commented Jun 19, 2020

/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: detiber

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 Jun 19, 2020
@k8s-ci-robot
Copy link
Contributor

@vincepri: The following test failed, say /retest to rerun all failed tests:

Test name Commit Details Rerun command
pull-cluster-api-e2e e6161ff link /test pull-cluster-api-e2e

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

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 understand the commands that are listed here.

@vincepri
Copy link
Member Author

/test pull-cluster-api-e2e

@k8s-ci-robot k8s-ci-robot merged commit 11714ac into kubernetes-sigs:master Jun 19, 2020
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. size/XL Denotes a PR that changes 500-999 lines, ignoring generated files.
Projects
None yet
5 participants