Skip to content

Commit

Permalink
Fix the unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
elandau committed Nov 16, 2016
1 parent 9624057 commit 6867140
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ JettyConfig getConfig() {
}))
.createInjector()) {

Assert.assertEquals(0, FieldInjectionResource.createCount);

// Determine the emphermal port from jetty
Server server = injector.getInstance(Server.class);
int port = ((ServerConnector)server.getConnectors()[0]).getLocalPort();
Expand All @@ -315,4 +313,5 @@ JettyConfig getConfig() {
Assert.fail(e.getMessage());
}
}

}

0 comments on commit 6867140

Please sign in to comment.