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
JBIDE-23463 Properties: Build pod has state of exit code 0 instead of correct status completed #238
Conversation
… correct status completed Logic of Pod.getStatus() is fixed to copy that of resources.js .filter('podStatus')
Looks good. Are there tests to be added as well? [test] |
Evaluated for javaclient test up to 7eebc6a |
Java Client Test Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/292/) (Base Commit: 76a5ca4) |
@scabanovich thx for fixing this! |
I have added some tests. |
*/ | ||
@Test | ||
public void testGetStatusTerminateReasonAndExit() { | ||
ModelNode node = new ModelNode(); |
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.
LGTM. In future, there is a ModelNodeBuilder class that might make it easier for your to build up the json.
[merge] |
Evaluated for javaclient merge up to 2c1584f |
Java Client Merge Results: SUCCESS (https://ci.openshift.redhat.com/jenkins/job/test-openshift-restclient-java/294/) (Base Commit: 461469e) |
Logic of Pod.getStatus() is fixed to copy that of
resources.js .filter('podStatus')