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

Samebug tips

  1. ,
    Expert tip

    Check your pattern declaration or check your assert declaration.

  2. ,

    My guess is there is some kind of static state in the code being tested or in the test itself, so the tests aren't isolated. Adding the test changes the test order. In any case, your best course of action is to use the debugger to see why the tests fail.

Solutions on the web

via GitHub by Donnerbart
, 1 year ago
via GitHub by bilalyasar
, 2 years ago
Values should be different. Actual: Thread[hz._hzInstance_28_dev.IO.thread-in-1,5,_hzInstance_28_dev]
via GitHub by hasancelik
, 2 years ago
via GitHub by hasancelik
, 2 years ago
Values should be different. Actual: 0
via GitHub by rillig
, 3 months ago
Values should be different. Actual:
via GitHub by hasancelik
, 1 year ago
Values should be different. Actual: value
java.lang.AssertionError: Values should be different. Actual: 0	at org.junit.Assert.fail(Assert.java:88)	at org.junit.Assert.failEquals(Assert.java:185)	at org.junit.Assert.assertNotEquals(Assert.java:199)	at org.junit.Assert.assertNotEquals(Assert.java:211)	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest$1.run(AbstractListenersOnReconnectTest.java:64)	at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:901)	at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:915)	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersInternal(AbstractListenersOnReconnectTest.java:61)	at com.hazelcast.client.listeners.AbstractListenersOnReconnectTest.testListenersNonSmartRoutingMultipleServer(AbstractListenersOnReconnectTest.java:131)	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)	at java.lang.reflect.Method.invoke(Method.java:597)	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 com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:88)	at com.hazelcast.test.FailOnTimeoutStatement$CallableStatement.call(FailOnTimeoutStatement.java:82)	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)	at java.util.concurrent.FutureTask.run(FutureTask.java:138)	at java.lang.Thread.run(Thread.java:662)