@Test
  public void testRunDatabaseConsistencyCheck_IgnoreDBCheck() throws Exception {
    AmbariServer ambariServer = new AmbariServer();

    System.setProperty("skipDatabaseConsistencyCheck", "");

    final Injector mockInjector = Guice.createInjector(new AbstractModule() {
      @Override
      protected void configure() {

      }
    });

    DatabaseConsistencyCheckHelper.setInjector(mockInjector);

    ambariServer.runDatabaseConsistencyCheck();

    System.clearProperty("skipDatabaseConsistencyCheck");
  }
Tests that Jetty pools are configured with the correct number of
Acceptor/Selector threads.

@throws Exception
ambari-server/src/test/java/org/apache/ambari/server/controller/AmbariServerTest.java