@Parameters(value = {"splunk.home", "hadoop.host", "hadoop.port"}) public void _givenArchiverRootURIWithHdfsScheme_setsBackendAndPathWithURIAndHadoopProperties( final String splunkHome, final String hadoopHost, final String hadoopPort) { TUtilsEnvironment.runInCleanEnvironment( new Runnable() { @Override public void run() { try { TUtilsEnvironment.setEnvironmentVariable("SPLUNK_HOME", splunkHome); set_Backend_ArchivePath_AndHadoopProperties(hadoopHost, hadoopPort); } catch (IOException e) { TUtilsTestNG.failForException("Got IOException", e); } } }); }
@Parameters(value = {"splunk.home"}) public void _givenArchiverRootURIWithS3Scheme_setsBackendAndPathWithURIAndAmazonProperties( final String splunkHome) { TUtilsEnvironment.runInCleanEnvironment( new Runnable() { @Override public void run() { try { TUtilsEnvironment.setEnvironmentVariable("SPLUNK_HOME", splunkHome); set_Backend_archivePath_andAmazonProperties(); } catch (IOException e) { TUtilsTestNG.failForException("Got IOException", e); } } }); }