private void assertAlive(HttpServer server) {
    assertTrue("Server is not alive", server.isAlive());
    assertToStringContains(server, HttpServer.STATE_DESCRIPTION_ALIVE);
  }
Check that a server is alive by probing the {@link HttpServer#isAlive()} method and the text of
its toString() description
@param server server
hbase-http/src/test/java/org/apache/hadoop/hbase/http/TestHttpServerLifecycle.java