You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@knox.apache.org by km...@apache.org on 2016/03/02 01:05:05 UTC

knox git commit: [KNOX-676] - Knox build failures. Attempt 2.

Repository: knox
Updated Branches:
  refs/heads/master 1f94d588a -> baeb6c3e9


[KNOX-676] - Knox build failures. Attempt 2.


Project: http://git-wip-us.apache.org/repos/asf/knox/repo
Commit: http://git-wip-us.apache.org/repos/asf/knox/commit/baeb6c3e
Tree: http://git-wip-us.apache.org/repos/asf/knox/tree/baeb6c3e
Diff: http://git-wip-us.apache.org/repos/asf/knox/diff/baeb6c3e

Branch: refs/heads/master
Commit: baeb6c3e9c28037953b307090321e00b3a53fdba
Parents: 1f94d58
Author: Kevin Minder <km...@apache.org>
Authored: Tue Mar 1 19:05:01 2016 -0500
Committer: Kevin Minder <km...@apache.org>
Committed: Tue Mar 1 19:05:01 2016 -0500

----------------------------------------------------------------------
 .../java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/knox/blob/baeb6c3e/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
index e75b167..d8ea728 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayBasicFuncTest.java
@@ -3333,16 +3333,16 @@ public class GatewayBasicFuncTest {
         .contentType( ContentType.JSON.toString() );
 
     Response response = given()
+        .log().all()
         .auth().preemptive().basic(username, password)
         .header("X-XSRF-Header", "jksdhfkhdsf")
         .header("Accept", ContentType.JSON.toString())
         .expect()
-//        .log().all()
+        .log().all()
         .statusCode(HttpStatus.SC_OK)
         .contentType( ContentType.JSON.toString() )
         .when().get( gatewayPath );
 
-
     String link = response.getBody().jsonPath().getString("spouts[0].errorWorkerLogLink");
     MatcherAssert.assertThat(link, anyOf(
         startsWith("http://" + gatewayHostName + ":" + gatewayPort + "/"),