This is an automated email from the ASF dual-hosted git repository. rombert pushed a commit to annotated tag org.apache.sling.junit.healthcheck-1.0.4 in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-junit-healthcheck.git
commit de2ea40d5de735a93d5a0e40c9ab6838bcdf0873 Author: Bertrand Delacretaz <[email protected]> AuthorDate: Wed Feb 23 13:06:27 2011 +0000 SLING-1963 - JUnitServlet requires POST to execute tests, GET only lists them git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/junit/remote@1073729 13f79535-47bb-0310-9956-ffa450edef68 --- .../sling/junit/remote/testrunner/SlingRemoteTestRunner.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/main/java/org/apache/sling/junit/remote/testrunner/SlingRemoteTestRunner.java b/src/main/java/org/apache/sling/junit/remote/testrunner/SlingRemoteTestRunner.java index 6d5010b..aaa9123 100644 --- a/src/main/java/org/apache/sling/junit/remote/testrunner/SlingRemoteTestRunner.java +++ b/src/main/java/org/apache/sling/junit/remote/testrunner/SlingRemoteTestRunner.java @@ -83,11 +83,8 @@ public class SlingRemoteTestRunner extends ParentRunner<SlingRemoteTest> { } builder = new RequestBuilder(testParameters.getServerBaseUrl()); - // TODO for now we run tests at the same time as we count them, - // as the junit servlet uses only GET - need to change that to GET and POST - final Request r = builder.buildGetRequest(testParameters.getJunitServletPath() + "/.json"); - - // Get list of tests in JSON format + // POST request executes the tests + final Request r = builder.buildPostRequest(testParameters.getJunitServletPath() + "/.json"); executor.execute(r) .assertStatus(200) .assertContentType("application/json"); -- To stop receiving notification emails like this one, please contact "[email protected]" <[email protected]>.
