[ https://issues.apache.org/jira/browse/STORM-3135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Robert Joseph Evans resolved STORM-3135. ---------------------------------------- Resolution: Fixed Fix Version/s: 2.0.0 Thanks [~Srdo], I merged this into master. > 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 > Fix For: 2.0.0 > > Time Spent: 1h 10m > Remaining Estimate: 0h > > 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)