5
0
mirror of https://github.com/apache/sqoop.git synced 2025-05-07 05:11:58 +08:00

SQOOP-2584: Sqoop2: Fix test failure in InvalidRESTCallsTest

(Dian Fu via Jarek Jarcec Cecho)
This commit is contained in:
Jarek Jarcec Cecho 2015-09-21 19:11:34 -07:00
parent bd7252480f
commit 5fcdd3bafd

View File

@ -137,7 +137,7 @@ void validate() throws Exception {
@Override @Override
void validate() throws Exception { void validate() throws Exception {
assertResponseCode(500); 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() { new TestDescription("Get connector by non-existing name", "v1/connector/jarcecs-cool-connector", "GET", null, new Validator() {
@Override @Override