private void startServer() throws Exception {
    try {
      LOG.info("Attempting to start ambari server...");

      AmbariServer.setupProxyAuth();
      ambariServer = injector.getInstance(AmbariServer.class);
      ambariServer.initViewRegistry();
      ambariServer.run();
    } catch (InterruptedException ex) {
      LOG.info(ex);
    } catch (Throwable t) {
      LOG.error("Failed to run the Ambari Server", t);
      stopServer();
      throw t;
    }
  }
Configures the Guice injector to use the in-memory test DB
and attempts to start an instance of AmbariServer.

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