private static Properties readConfigFile() {
        Properties properties = new Properties();
        String configFileName = "ambari.properties";
        //Get property file stream from classpath
        InputStream inputStream = Configuration.class.getClassLoader().getResourceAsStream(configFileName);
        if (inputStream == null) {
            throw new RuntimeException(configFileName + " not found in classpath");
        }
        // load the properties
        try {
            properties.load(new InputStreamReader(inputStream, Charsets.UTF_8));
            inputStream.close();
        } catch (FileNotFoundException fnf) {
            LOG.info("No configuration file " + configFileName + " found in classpath.", fnf);
        } catch (IOException ie) {
            throw new IllegalArgumentException("Can't read configuration file " +
                    configFileName, ie);
        }
        return properties;
    }
Perform common clean up for each test case.

@throws Exception
ambari-funtest/src/test/java/org/apache/ambari/funtest/server/tests/ServerTestBase.java