question: public static void deleteCore ( ) { log . info ( "###deleteCore" ) ; if ( h != null ) { h . close ( ) ; } if ( factoryProp == null ) { System . clearProperty ( "solr.directoryFactory" ) ; } solrConfig = null ; h = null ; lrf = null ; configString = schemaString = null ; }
target:  Shuts down the test harness, and makes the best attempt possible to delete dataDir, unless the system property "solr.test.leavedatadir" is set.