knox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lmc...@apache.org
Subject git commit: KNOX-442 Align Tests with Hive API Change
Date Tue, 14 Oct 2014 17:25:39 GMT
Repository: knox
Updated Branches:
  refs/heads/v0.5.0 9a4da4609 -> daf343418


KNOX-442 Align Tests with Hive API Change


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

Branch: refs/heads/v0.5.0
Commit: daf343418f164b3f2abd64a8dbc2b13fd830bf29
Parents: 9a4da46
Author: Larry McCay <lmccay@hortonworks.com>
Authored: Tue Oct 14 13:24:13 2014 -0400
Committer: Larry McCay <lmccay@hortonworks.com>
Committed: Tue Oct 14 13:25:17 2014 -0400

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


http://git-wip-us.apache.org/repos/asf/knox/blob/daf34341/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayFuncTestDriver.java
----------------------------------------------------------------------
diff --git a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayFuncTestDriver.java
b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayFuncTestDriver.java
index 842e55a..6453c49 100644
--- a/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayFuncTestDriver.java
+++ b/gateway-test/src/test/java/org/apache/hadoop/gateway/GatewayFuncTestDriver.java
@@ -744,7 +744,7 @@ public class GatewayFuncTestDriver {
     getMock( "WEBHCAT" )
           .expect()
           .method( "GET" )
-          .pathInfo( "/v1/queue/" + job )
+          .pathInfo( "/v1/jobs/" + job )
           .respond()
           .status( HttpStatus.SC_OK )
           .content( getResourceBytes( "webhcat-job-status.json" ) )
@@ -758,7 +758,7 @@ public class GatewayFuncTestDriver {
         //.log().all()
         .content( "status.jobId", equalTo( job ) )
         .statusCode( HttpStatus.SC_OK )
-        .when().get( getUrl( "WEBHCAT" ) + "/v1/queue/{job}" + ( isUseGateway() ? "" : "?user.name="
+ user ) ).asString();
+        .when().get( getUrl( "WEBHCAT" ) + "/v1/jobs/{job}" + ( isUseGateway() ? "" : "?user.name="
+ user ) ).asString();
     log.debug( "STATUS=" + status );
     assertComplete();
   }


Mime
View raw message