You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by GitBox <gi...@apache.org> on 2019/08/21 13:53:04 UTC

[GitHub] [hadoop] cawatson commented on issue #1230: HDDS-1895. Support Key ACL operations for OM HA.

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:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org