[ https://issues.apache.org/jira/browse/HIVE-19193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436977#comment-16436977 ]
Prasanth Jayachandran commented on HIVE-19193: ---------------------------------------------- The test will no wait for futures to get resolved before checking leader/not leader status. Should make the tests more stable. [~ashutoshc] can you please take a look? > TestActivePassiveHA fails > ------------------------- > > Key: HIVE-19193 > URL: https://issues.apache.org/jira/browse/HIVE-19193 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2 > Reporter: Ashutosh Chauhan > Assignee: Prasanth Jayachandran > Priority: Major > Attachments: HIVE-19193.1.patch > > > This looks like a flaky test. If its not reproducible locally try improving > on stability of this test, since it does fail randomly with Hive QA. > {code:java} > java.lang.AssertionError: expected:<true> but was:<false> > at org.junit.Assert.fail(Assert.java:88) > at org.junit.Assert.failNotEquals(Assert.java:743) > at org.junit.Assert.assertEquals(Assert.java:118) > at org.junit.Assert.assertEquals(Assert.java:144) > at > org.apache.hive.jdbc.TestActivePassiveHA.testManualFailover(TestActivePassiveHA.java:356) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at > org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:47) > at > org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) > at > org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:44) > at > org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17) > at > org.junit.internal.runners.statements.FailOnTimeout$StatementThread.run(FailOnTimeout.java:74){code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)