java.lang.AssertionError: expected:<5> but was:<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 GitHub by hasancelik
, 1 year ago
expected:<5> but was:<1>
via GitHub by gibello
, 1 year ago
expected:<DEPLOYED_STARTED> but was:<DEPLOYED_STOPPED>
via GitHub by Frank-Bradley
, 2 years ago
i: 1 expected: but was:
via GitHub by hasancelik
, 2 years ago
expected:<500> but was:<4156>
via Google Groups by Erik Ramfelt, 4 months ago
java.lang.AssertionError: expected:<5> but was:<1>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotEquals(Assert.java:834)
at org.junit.Assert.assertEquals(Assert.java:645)
at org.junit.Assert.assertEquals(Assert.java:631)
at com.hazelcast.map.impl.query.QueryAdvancedTest.testQueryWithTTL(QueryAdvancedTest.java:141)

Users with the same issue

14 times, 28 minutes ago
Once, 3 days ago
Once, 1 week ago
2 times, 1 week ago
Once, 2 weeks ago

Write tip

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