-
Notifications
You must be signed in to change notification settings - Fork 72
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
Change: Cluster setup exception message shortened #2055
Change: Cluster setup exception message shortened #2055
Conversation
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
I completely forgot to run spec tests, which even discovered the lack of exit code 1 as mentioned by @martin-mat . Additionally I had to edit the spec tests so that they would match the output with the new one. |
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
Refs: cnti-testcatalog#1926 - The unnecessary stack trace was not printed through e.message as I suspected but due to raise itself. That is why I instead used puts to print out the informative message and the e.message remained in the form of an info log. - I also made the informative message more explicit as someone not used to the testsuite might not have understood it. Signed-off-by: svteb <[email protected]>
Refs: cnti-testcatalog#1926 Signed-off-by: svteb <[email protected]>
… for new output Refs: cnti-testcatalog#1926 Signed-off-by: svteb <[email protected]>
… Log.error Refs: cnti-testcatalog#1926 Signed-off-by: svteb <[email protected]>
0a4e2dd
to
2c2fc12
Compare
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, should make spec test output clearer and less confusing.
Pls add comment to PR about reason for removing Log.info { "install_cluster_tools" }
The clustertools.install method prints that clustertools installation is ongoing:
So just duplication removal. |
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
Description
As explained in the referenced issue, there was an unnecessary stack trace printed out in
install_cluster_tools
anduninstall_cluster_tools
if./cnf-testsuite setup
has not been run. This was remediated by replacing theraise
command withputs
. Additionally I made the informative message more explicit for new users.Issues:
Refs: #1926
How has this been tested:
Types of changes:
Checklist:
Documentation
Code Review
Issue