[
https://issues.apache.org/jira/browse/HDDS-1895?focusedWorklogId=298700&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-298700
]
ASF GitHub Bot logged work on HDDS-1895:
----------------------------------------
Author: ASF GitHub Bot
Created on: 21/Aug/19 13:55
Start Date: 21/Aug/19 13:55
Worklog Time Spent: 10m
Work Description: cawatson commented on issue #1230: HDDS-1895. Support
Key ACL operations for OM HA.
URL: https://github.com/apache/hadoop/pull/1230#issuecomment-523467002
I am creating a tool to aid developers by partially automating unit testing.
Could you speak to the validity of these generated assert statement for the
given test method?
All test methods come from the file:
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestOzoneManagerHA.java
Test Method: testAllBucketOperations
Assert Statement(s):
`org . junit . Assert . assertTrue ( versioning . getVersioning ( ) )`
`org . junit . Assert . assertTrue ( OzoneTestUtils . getVersioning ( ) )`
`org . junit . Assert . assertTrue ( OzoneBucket . getVersioning ( ) )`
Test Method: testFileOperationsWithNonRecursive
Assert Statement(s):
`org . junit . Assert . assertNotNull ( OMException )`
`org . junit . Assert . assertNotNull ( keyName )`
Test Method: testMultipartUploadWithOneOmNodeDown
Assert Statement(s):
`org . junit . Assert . assertNotNull ( keyName )`
`org . junit . Assert . assertTrue ( objectStore . getOMProxyProvider ( node
) )`
Test Method: testOMProxyProviderFailoverToCurrentLeader
Assert Statement(s):
`org . junit . Assert . assertTrue ( ( ( leaderOMNodeId . createVolumeTest (
node ) ) == 1 ) )`
`org . junit . Assert . assertTrue ( ( ( leaderOMNodeId . createVolumeTest (
node ) ) == 0 ) )`
`org . junit . Assert . assertTrue ( ( ( leaderOMNodeId . createVolumeTest (
node ) ) > 0 ) )`
Test Method: testOMRetryProxy
Assert Statement(s):
`org . junit . Assert . assertTrue ( ( ( Logger . addAppender ( node ) ) ==
null ) )`
Test Method: testReadRequest
Assert Statement(s):
`org . junit . Assert . assertEquals ( 0 , currentLeaderNodeId . count ( 10
) )`
Thank you for your time.
----------------------------------------------------------------
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: 298700)
Time Spent: 3h 20m (was: 3h 10m)
> Support Key ACL operations for OM HA.
> -------------------------------------
>
> Key: HDDS-1895
> URL: https://issues.apache.org/jira/browse/HDDS-1895
> Project: Hadoop Distributed Data Store
> Issue Type: Sub-task
> Reporter: Bharat Viswanadham
> Assignee: Bharat Viswanadham
> Priority: Major
> Labels: pull-request-available
> Fix For: 0.5.0
>
> Time Spent: 3h 20m
> Remaining Estimate: 0h
>
> +HDDS-1541+ adds 4 new api for Ozone rpc client. OM HA implementation needs
> to handle them.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]