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 be2ac046..856d21f6 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 @@ void validate() throws Exception { @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