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] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
