public static void main(String[] args) throws Exception {
    App.args(args);

    Conf.HTTP.set("maxPipeline", 128);
    Conf.HTTP.set("timeout", 0);

    new PlaintextAndJsonServer().listen(8080);
  }
Example #2
0
  @Test
  public void testAppSetup() throws Exception {
    Env.reset();

    App.args(new String[0], "profiles=mysql", "mode=production");
    Conf.ROOT.set("id", "rpd123");
    ClasspathUtil.appJar("/a/b.jar");

    verify("app-setup", status().toString());
  }