void function ( ) { conf . setLong ( DFSConfigKeys . DFS_NAMENODE_DU_RESERVED_KEY , Long . MAX_VALUE ) ; NameNodeResourceChecker loc0 = new NameNodeResourceChecker ( conf ) ; assertFalse ( "srini_string" + "srini_string" , loc0 . hasAvailableDiskSpace ( ) ) ; }
tests that hasavailablediskspace returns false if disk usage is above threshold . concode_field_sep File baseDir concode_elem_sep File nameDir concode_elem_sep File BASE_DIR concode_elem_sep Configuration conf concode_field_sep void testCheckingExtraVolumes concode_elem_sep void testCheckThatNameNodeResourceMonitorIsRunning concode_elem_sep void testCheckAvailability concode_elem_sep void setUp concode_elem_sep void testChecking2NameDirsOnOneVolume concode_elem_sep void testLowResourceVolumePolicy