You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sqoop.apache.org by ja...@apache.org on 2015/09/22 04:12:14 UTC

sqoop git commit: SQOOP-2584: Sqoop2: Fix test failure in InvalidRESTCallsTest

Repository: sqoop
Updated Branches:
  refs/heads/sqoop2 bd7252480 -> 5fcdd3baf


SQOOP-2584: Sqoop2: Fix test failure in InvalidRESTCallsTest

(Dian Fu via Jarek Jarcec Cecho)


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

Branch: refs/heads/sqoop2
Commit: 5fcdd3bafd8b460b676f592868dd10dbefc88263
Parents: bd72524
Author: Jarek Jarcec Cecho <ja...@apache.org>
Authored: Mon Sep 21 19:11:34 2015 -0700
Committer: Jarek Jarcec Cecho <ja...@apache.org>
Committed: Mon Sep 21 19:11:34 2015 -0700

----------------------------------------------------------------------
 .../org/apache/sqoop/integration/server/InvalidRESTCallsTest.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/sqoop/blob/5fcdd3ba/test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
----------------------------------------------------------------------
diff --git a/test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java b/test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
index be2ac04..856d21f 100644
--- a/test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
+++ b/test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java
@@ -137,7 +137,7 @@ public class InvalidRESTCallsTest extends SqoopTestCase {
       @Override
       void validate() throws Exception {
         assertResponseCode(500);
-        assertServerException("org.apache.sqoop.error.code.CommonRepositoryError", "COMMON_0057");
+        assertServerException("org.apache.sqoop.server.common.ServerError", "SERVER_0006");
       }}),
     new TestDescription("Get connector by non-existing name", "v1/connector/jarcecs-cool-connector", "GET", null, new Validator() {
       @Override