-
Notifications
You must be signed in to change notification settings - Fork 741
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
status: Add test cases for failure #643
Conversation
/asssign @jlewi |
/assign @jlewi |
nit: Please use a more informative title and PR description; what are you adding test cases for? |
@@ -64,7 +64,7 @@ func (tc *TFJobController) updateStatus(tfjob *tfv1alpha2.TFJob, rtype tfv1alpha | |||
msg := fmt.Sprintf("TFJob %s is successfully completed.", tfjob.Name) |
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.
Does the condition for determining success need to be updated? Now that you support chief per your other PRs? I think I saw code in your other PR to handle this so maybe you just need to sync?
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.
Yeah, this PR has conflicts with other PRs, and I will rebase after other PRs are all merged.
/retest |
/hold cancel |
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
Signed-off-by: Ce Gao <[email protected]>
/lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jlewi 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 |
* pkg: Update Signed-off-by: Ce Gao <[email protected]> * status: Add unit test when pod is failed Signed-off-by: Ce Gao <[email protected]> * status: Test chief and ps/worker Signed-off-by: Ce Gao <[email protected]>
* pkg: Update Signed-off-by: Ce Gao <[email protected]> * status: Add unit test when pod is failed Signed-off-by: Ce Gao <[email protected]> * status: Test chief and ps/worker Signed-off-by: Ce Gao <[email protected]>
This change is