You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hive.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2018/04/12 23:29:00 UTC

[jira] [Commented] (HIVE-19193) TestActivePassiveHA fails

    [ https://issues.apache.org/jira/browse/HIVE-19193?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16436482#comment-16436482 ] 

Ashutosh Chauhan commented on HIVE-19193:
-----------------------------------------

testActivePassiveHA also fails randomly though not as frequently.
{code}
java.lang.AssertionError: expected:<1> but was:<0>
	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:555)
	at org.junit.Assert.assertEquals(Assert.java:542)
	at org.apache.hive.jdbc.TestActivePassiveHA.testActivePassiveHA(TestActivePassiveHA.java:198)
{code}

> 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
>            Priority: Major
>
> 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)