HIVE-19252: TestJdbcWithMiniKdcCookie.testCookieNegative is failing consistently (Vaibhav Gumashta reviewed by Daniel Dai)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/29a86906 Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/29a86906 Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/29a86906 Branch: refs/heads/storage-branch-2.6 Commit: 29a86906d35c76223f187e000e4793273d514a33 Parents: 39ecb6a Author: Vaibhav Gumashta <vgumas...@hortonworks.com> Authored: Wed Apr 25 12:53:14 2018 -0700 Committer: Vaibhav Gumashta <vgumas...@hortonworks.com> Committed: Wed Apr 25 12:53:14 2018 -0700 ---------------------------------------------------------------------- .../java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/29a86906/itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java ---------------------------------------------------------------------- diff --git a/itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java b/itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java index 9cad3ea..2fa2a87 100644 --- a/itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java +++ b/itests/hive-minikdc/src/test/java/org/apache/hive/minikdc/TestJdbcWithMiniKdcCookie.java @@ -109,7 +109,7 @@ public class TestJdbcWithMiniKdcCookie { // login failure. getConnection(HIVE_NON_EXISTENT_USER); } catch (IOException e) { - Assert.assertTrue(e.getMessage().contains("Login failure")); + Assert.assertTrue(e.getMessage().contains("javax.security.auth.login.LoginException")); } }