You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/06/29 20:45:00 UTC

[jira] [Updated] (STORM-3135) JCQueueTest is flaky

     [ https://issues.apache.org/jira/browse/STORM-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ASF GitHub Bot updated STORM-3135:
----------------------------------
    Labels: pull-request-available  (was: )

> JCQueueTest is flaky
> --------------------
>
>                 Key: STORM-3135
>                 URL: https://issues.apache.org/jira/browse/STORM-3135
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-client
>    Affects Versions: 2.0.0
>            Reporter: Stig Rohde Døssing
>            Assignee: Stig Rohde Døssing
>            Priority: Major
>              Labels: pull-request-available
>
> Saw the JCQueueTest fail a couple of times on Travis.
> {code}
> testFirstMessageFirst(org.apache.storm.utils.JCQueueTest)  Time elapsed: 0.86 sec  <<< FAILURE!
> java.lang.AssertionError: Unable to send halt interrupt
> 	at org.junit.Assert.fail(Assert.java:88)
> 	at org.junit.Assert.assertTrue(Assert.java:41)
> 	at org.apache.storm.utils.JCQueueTest.run(JCQueueTest.java:151)
> 	at org.apache.storm.utils.JCQueueTest.run(JCQueueTest.java:127)
> 	at org.apache.storm.utils.JCQueueTest.testFirstMessageFirst(JCQueueTest.java:61)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 	at java.base/java.lang.reflect.Method.invoke(Method.java:564)
> 	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}
> I think we should just keep trying to send the interrupt until we succeed, or we hit a reasonable timeout.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)