Skip to content

Instantly share code, notes, and snippets.

@rdhabalia
Created April 3, 2017 21:07
Show Gist options
  • Save rdhabalia/27a09c1a724cc6a2928bdb62e3c5e9a0 to your computer and use it in GitHub Desktop.
Save rdhabalia/27a09c1a724cc6a2928bdb62e3c5e9a0 to your computer and use it in GitHub Desktop.
Intermittent test failures
2017-04-01 01:35:52,314 - ERROR - [main:TestListener@41] - ------------ Test Failed - com.yahoo.pulsar.client.impl.BrokerClientIntegrationTest / testCloseConnectionOnBrokerRejectedRequest -- attrs: []
java.lang.AssertionError: expected [false] but found [true]
at org.testng.Assert.fail(Assert.java:94)
at org.testng.Assert.failNotEquals(Assert.java:494)
at org.testng.Assert.assertFalse(Assert.java:63)
at org.testng.Assert.assertFalse(Assert.java:73)
at com.yahoo.pulsar.client.impl.BrokerClientIntegrationTest.testCloseConnectionOnBrokerRejectedRequest(BrokerClientIntegrationTest.java:526)
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.testng.internal.MethodInvocationHelper.invokeMethod(MethodInvocationHelper.java:84)
at org.testng.internal.InvokeMethodRunnable.runOne(InvokeMethodRunnable.java:46)
at org.testng.internal.InvokeMethodRunnable.run(InvokeMethodRunnable.java:37)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)
2017-04-01 01:35:55,509 - ERROR - [main:TestListener@41] - ------------ Test Failed - com.yahoo.pulsar.client.impl.BrokerClientIntegrationTest / testMaxConcurrentTopicLoading -- attrs: []
com.yahoo.pulsar.client.api.PulsarClientException: Producer with name 'test-1-0' is already connected to topic
at com.yahoo.pulsar.client.impl.ClientCnx.getPulsarClientException(ClientCnx.java:467)
at com.yahoo.pulsar.client.impl.ClientCnx.handleError(ClientCnx.java:310)
at com.yahoo.pulsar.common.api.PulsarDecoder.channelRead(PulsarDecoder.java:144)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:293)
at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:267)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:345)
at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1294)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:366)
at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:352)
at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:911)
at io.netty.channel.epoll.AbstractEpollStreamChannel$EpollStreamUnsafe.epollInReady(AbstractEpollStreamChannel.java:883)
at io.netty.channel.epoll.EpollEventLoop.processReady(EpollEventLoop.java:389)
at io.netty.channel.epoll.EpollEventLoop.run(EpollEventLoop.java:305)
at io.netty.util.concurrent.SingleThreadEventExecutor$2.run(SingleThreadEventExecutor.java:140)
at io.netty.util.concurrent.DefaultThreadFactory$DefaultRunnableDecorator.run(DefaultThreadFactory.java:144)
at java.lang.Thread.run(Thread.java:745)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment