Skip to content

Commit

Permalink
Probes are stored in /desc, needed for maven tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacchella committed May 12, 2014
1 parent ba81522 commit c62bd95
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions junit/jrds/webapp/ToolsWebApp.java
Expand Up @@ -33,7 +33,7 @@ static ServletTester getMonoServlet(TemporaryFolder testFolder, Properties props
config.put("configdir", root + "/config");
config.put("autocreate", "true");
config.put("rrddir", root);
config.put("libspath", "build/probes");
config.put("libspath", "desc");
config.putAll(props);

ServletTester tester = ToolsWebApp.getTestServer(config);
Expand All @@ -60,7 +60,6 @@ static HttpTester doRequestGet(ServletTester tester, String query, int expectedS
request.setURI(queryURL.getPath() + (args != null ? "?" + args : ""));
request.setVersion("HTTP/1.0");
response.parse(tester.getResponses(request.generate()));

Assert.assertEquals(expectedStatus,response.getStatus());

return response;
Expand Down

0 comments on commit c62bd95

Please sign in to comment.