Ahmed Hussein created HDFS-15999:
------------------------------------

             Summary: TestCommitBlockSynchronization incorrect tests
                 Key: HDFS-15999
                 URL: https://issues.apache.org/jira/browse/HDFS-15999
             Project: Hadoop HDFS
          Issue Type: Bug
          Components: namanode, test
            Reporter: Ahmed Hussein


{{TestCommitBlockSynchronization}} assumes any exception is the expected 
failure, while assuming no exception must be success without any state 
verification.
The test also creates mocks that do no input verification, returns values 
independent of actual state even after state should have changed, and returns 
invalid values such as a block list containing a null



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to