Changeset 1936
- Timestamp:
- 2011-08-31 15:20:33 (9 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/kauri-template/kauri-template-service-impl/src/test/java/org/kauriproject/template/service/test/TemplateServiceHostIdentifierTest.java
r1526 r1936 75 75 private Response testRequest(String path) throws Exception { 76 76 Response response = runtime.getRestserviceManager().getComponent().getContext().getClientDispatcher().handle(new Request(Method.GET, "http://localhost:" + HTTP_TEST_PORT + path)); 77 78 // start temp-code for checking test failures only @ci.outerthought.org 79 if (response.getStatus().getCode() != 200) { 80 // dump response body before assertion to retrieve some more detail in the logs on hudson 81 System.out.println("Unexpected response code. Dumping BODY:--\n" + response.getEntityAsText() + "\n--"); 82 } 83 // end temp-code 84 77 85 assertEquals(200, response.getStatus().getCode()); 78 86 return response;
Note: See TracChangeset
for help on using the changeset viewer.