You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by GitBox <gi...@apache.org> on 2021/07/09 11:57:12 UTC
[GitHub] [ozone] mukul1987 opened a new pull request #2399: HDDS-5423. Robot test should print the entire exception stack trace.
mukul1987 opened a new pull request #2399:
URL: https://github.com/apache/ozone/pull/2399
## What changes were proposed in this pull request?
Robot test truncates the exception lines in the output, this jira ensures that the entire exception is printed.
https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#limiting-error-message-length-in-reports
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-5423
## How was this patch tested?
Observed output of another excpetion trace with the option enabled.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] mukul1987 closed pull request #2399: HDDS-5423. Robot test should print the entire exception stack trace.
Posted by GitBox <gi...@apache.org>.
mukul1987 closed pull request #2399:
URL: https://github.com/apache/ozone/pull/2399
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org
[GitHub] [ozone] adoroszlai commented on pull request #2399: HDDS-5423. Robot test should print the entire exception stack trace.
Posted by GitBox <gi...@apache.org>.
adoroszlai commented on pull request #2399:
URL: https://github.com/apache/ozone/pull/2399#issuecomment-877161023
@mukul1987 The doc says: full error messages are always visible in log files as messages of the failed keywords. Do we really need the full error in regular output, too?
Try this test:
```robotframework
*** Settings ***
Library OperatingSystem
*** Test Cases ***
Long message
${rc} ${output} = Run And Return Rc And Output cat /etc/passwd
Should Contain ${output} asdfqwerty
```
`output.xml` would have the complete message (`'... (full contents of /etc/passwd)' does not contain 'asdfqwerty'`).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org