[
https://issues.apache.org/jira/browse/HDDS-2264?focusedWorklogId=324278&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-324278
]
ASF GitHub Bot logged work on HDDS-2264:
----------------------------------------
Author: ASF GitHub Bot
Created on: 07/Oct/19 11:12
Start Date: 07/Oct/19 11:12
Worklog Time Spent: 10m
Work Description: adoroszlai commented on pull request #1607: HDDS-2264.
Improve output of TestOzoneContainer
URL: https://github.com/apache/hadoop/pull/1607
## What changes were proposed in this pull request?
1. Compare exception result via assertion
```
Expected :DISK_OUT_OF_SPACE
Actual :CONTAINER_INTERNAL_ERROR
```
2. Log the exception in case of failure
3. Use `LambdaTestUtils` instead of `try-catch`
https://issues.apache.org/jira/browse/HDDS-2264
## How was this patch tested?
Temporarily changed `KeyValueContainer` to not catch
`DiskOutOfSpaceException`. Verified that the exception is logged and the test
fails.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 324278)
Remaining Estimate: 0h
Time Spent: 10m
> Improve output of TestOzoneContainer
> ------------------------------------
>
> Key: HDDS-2264
> URL: https://issues.apache.org/jira/browse/HDDS-2264
> Project: Hadoop Distributed Data Store
> Issue Type: Improvement
> Components: test
> Reporter: Attila Doroszlai
> Assignee: Attila Doroszlai
> Priority: Minor
> Labels: pull-request-available
> Time Spent: 10m
> Remaining Estimate: 0h
>
> TestOzoneContainer#testContainerCreateDiskFull fails intermittently
> (HDDS-2263), but test output does not reveal too much about the reason. The
> goal of this task is to improve the assertion/output to make it easier to fix
> the failure.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]