Skip to content

Commit

Permalink
simplify fail fast
Browse files Browse the repository at this point in the history
Signed-off-by: olivier lamy <[email protected]>
  • Loading branch information
olamy committed Apr 1, 2017
1 parent b872482 commit caa6cbc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ public void failed(Throwable x) {
logger.debug("failed tree for {}", resource);
}
callback.failed(x);
LoadGenerator.this.interrupt();
}
}, nodes);
Sender sender = new Sender(client, warmup, treeCallback);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ protected void service( HttpServletRequest request, HttpServletResponse response
{
throw new RuntimeException( e.getMessage(), e );
}

}
response.getOutputStream().write( "Jetty rocks!!".getBytes() );
response.flushBuffer();
Expand Down

0 comments on commit caa6cbc

Please sign in to comment.