diff --git a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java index 4a9af80..5211c1b 100644 --- a/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java +++ b/itests/hive-unit/src/test/java/org/apache/hive/jdbc/TestJdbcWithMiniHS2.java @@ -949,7 +949,7 @@ public void testHttpHeaderSize() throws Exception { } } - // This should fail with given HTTP response code 413 in error message, since header is more + // This should fail with given HTTP response code 431 in error message, since header is more // than the configured the header size userName = StringUtils.leftPad("*", 2000); Exception headerException = null; @@ -965,7 +965,7 @@ public void testHttpHeaderSize() throws Exception { assertTrue("Header exception should be thrown", headerException != null); assertTrue("Incorrect HTTP Response:" + headerException.getMessage(), - headerException.getMessage().contains("HTTP Response code: 413")); + headerException.getMessage().contains("HTTP Response code: 431")); } // Stop HiveServer2 to increase header size diff --git a/pom.xml b/pom.xml index 70518d1..f381f92 100644 --- a/pom.xml +++ b/pom.xml @@ -162,7 +162,7 @@ 3.1.0 5.5.1 3.0.1 - 9.3.8.v20160314 + 9.4.6.v20170531 1.14 2.22.2