test that if we do an incomplete read , we do n't call checksum_ok concode_field_sep Path TEST_FILE concode_elem_sep LocatedBlock testBlock concode_elem_sep BlockReaderTestUtil util concode_elem_sep int FILE_SIZE_K concode_field_sep void setupCluster concode_elem_sep void teardownCluster concode_elem_sep void testUnalignedReads concode_elem_sep void testBlockVerification concode_elem_sep void testCompletePartialRead
void function ( ) { RemoteBlockReader2 loc0 = ( RemoteBlockReader2 ) spy ( util . getBlockReader ( testBlock , 0 , FILE_SIZE_K * 1024 ) ) ; util . readAndCheckEOS ( loc0 , FILE_SIZE_K / 2 * 1024 , false ) ; verify ( loc0 , never ( ) ) . sendReadResult ( Status . CHECKSUM_OK ) ; loc0 . close ( ) ; }