You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:51:20 UTC

[sling-org-apache-sling-junit-healthcheck] 04/45: SLING-1963 - use failingtests bundle to verify that server-side test failures are correctly reported

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 4abc3c6e423c5602a40d2038a1c47f1912bc27c2
Author: Bertrand Delacretaz <bd...@apache.org>
AuthorDate: Wed Feb 23 14:17:58 2011 +0000

    SLING-1963 - use failingtests bundle to verify that server-side test failures are correctly reported
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/junit/remote@1073752 13f79535-47bb-0310-9956-ffa450edef68
---
 .../org/apache/sling/junit/remote/testrunner/SlingRemoteTestRunner.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 aaa9123..f10a2a3 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
@@ -84,7 +84,7 @@ public class SlingRemoteTestRunner extends ParentRunner<SlingRemoteTest> {
         builder = new RequestBuilder(testParameters.getServerBaseUrl());
         
         // POST request executes the tests
-        final Request r = builder.buildPostRequest(testParameters.getJunitServletPath() + "/.json");
+        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
"commits@sling.apache.org" <co...@sling.apache.org>.