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

feat(trial): Refactor trial controller and add basic test cases #528

Merged
merged 13 commits into from
May 20, 2019

Conversation

gaocegege
Copy link
Member

@gaocegege gaocegege commented May 15, 2019

What this PR does / why we need it:

I make DB an interface, and mock it during the unit test.

Special notes for your reviewer:

  1. Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:



This change is Reviewable

@gaocegege gaocegege mentioned this pull request May 16, 2019
@gaocegege gaocegege changed the title feat(trial): Add basic test cases feat(trial): Refactor trial controller and add basic test cases May 17, 2019
@gaocegege
Copy link
Member Author

gaocegege commented May 17, 2019

I am not sure if the CI could pass because of #515

I will hack it if fail to run.

PTAL @johnugeorge @hougangliu

pkg/controller/v1alpha2/trial	7.028s	coverage: 63.8% of statements

@hougangliu
Copy link
Member

/lgtm

@gaocegege
Copy link
Member Author

/hold cancel

@johnugeorge
Copy link
Member

/lgtm

@johnugeorge
Copy link
Member

/approve

@hougangliu
Copy link
Member

/lgtm

@k8s-ci-robot k8s-ci-robot added lgtm and removed lgtm labels May 17, 2019
@gaocegege
Copy link
Member Author

/hold

@gaocegege gaocegege force-pushed the trialtest branch 2 times, most recently from 26a2212 to ddada57 Compare May 17, 2019 09:31
@hougangliu
Copy link
Member

/lgtm

@johnugeorge
Copy link
Member

/lgtm

@gaocegege
Copy link
Member Author

/hold cancel

@johnugeorge
Copy link
Member

@gaocegege you have to change the deploy script

@gaocegege
Copy link
Member Author

@johnugeorge @hougangliu Comments addressed. PTAL, thanks.

@hougangliu
Copy link
Member

/lgtm
/approve

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: hougangliu, johnugeorge

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:
  • OWNERS [hougangliu,johnugeorge]

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 merged commit bc343ff into kubeflow:master May 20, 2019
@gaocegege gaocegege deleted the trialtest branch May 20, 2019 02:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants