protected void resetStoreState() throws Exception {
  checkConfiguration();
  File rootFile=new File(baseStateStoreDirectory + "/FSRMStateRoot/RMMyriadRoot");
  FileUtils.deleteDirectory(rootFile);
  FileUtils.forceMkdir(rootFile);
  File storeFile=new File(rootFile.getAbsolutePath() + "/MyriadState");
  if (!storeFile.createNewFile()) {
    throw new IllegalStateException(rootFile.getAbsolutePath() + "/MyriadState could not be created");
  }
}

protected void resetStoreState ( ) throws Exception { checkConfiguration ( ) ; File rootFile = new File ( baseStateStoreDirectory + "/FSRMStateRoot/RMMyriadRoot" ) ; FileUtils . deleteDirectory ( rootFile ) ; FileUtils . forceMkdir ( rootFile ) ; File storeFile = new File ( rootFile . getAbsolutePath ( ) + "/MyriadState" ) ; if ( ! storeFile . createNewFile ( ) ) { throw new IllegalStateException ( rootFile . getAbsolutePath ( ) + "/MyriadState could not be created" ) ; } }
deletes the directories and files that back the myriadfilesystemrmstatestore to ensure there is no stale state within the myriadfilesystemrmstatestore that could result in race conditions depending upon how the unit tests are executed .
