org.junit.ComparisonFailure: expected:<[completion-thread]> but was:<[nioEventLoopGroup-3-1]>

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via JIRA by Yuta Higuchi, 1 year ago
expected:<[completion-thread]> but was:<[nioEventLoopGroup-3-1]>
via GitHub by hasancelik
, 1 year ago
expected:</home/data/file[2].dat> but was:</home/data/file[1].dat>
via GitHub by WolfgangFahl
, 1 year ago
expected:<abc[ xyz]> but was:<abc[]>
via GitHub by hasancelik
, 2 years ago
expected:<[LatestUpdatedV]alue2> but was:<[v]alue2>
via GitHub by akonczak
, 1 year ago
expected:<com.[querydsl].apt.QuerydslAnnotat...> but was:<com.[mysema.query].apt.QuerydslAnnotat...>
via GitHub by jacek99
, 1 year ago
expected:<[name]> but was:<[]>
org.junit.ComparisonFailure: expected:<[completion-thread]> but was:<[nioEventLoopGroup-3-1]>
at org.junit.Assert.assertEquals(Assert.java:115)
at org.junit.Assert.assertEquals(Assert.java:144)
at org.onosproject.store.cluster.messaging.impl.NettyMessagingManagerTest.testSendAndReceiveWithExecutor(NettyMessagingManagerTest.java:152)
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:497)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at com.facebook.buck.testrunner.SameThreadFailOnTimeout$1.call(SameThreadFailOnTimeout.java:45)
at com.facebook.buck.testrunner.SameThreadFailOnTimeout$1.call(SameThreadFailOnTimeout.java:41)
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)

Users with the same issue

Once, 1 week ago
82 times, 1 month ago
2 times, 1 month ago
Once, 1 month ago
38 times, 1 month ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.