void function ( ) { exception . expect ( IOException . class ) ; exception . expectMessage ( DFSConfigKeys . DFS_NAMENODE_XATTRS_ENABLED_KEY ) ; }
we expect an ioexception , and we want the exception text to state the configuration key that controls xattr support . concode_field_sep MiniDFSCluster cluster concode_elem_sep Path PATH concode_elem_sep DistributedFileSystem fs concode_elem_sep ExpectedException exception concode_field_sep void testSetXAttr concode_elem_sep void initCluster concode_elem_sep void restart concode_elem_sep void testFsImage concode_elem_sep void testEditLog concode_elem_sep void testRemoveXAttr concode_elem_sep void testGetXAttrs concode_elem_sep void shutdown