java.lang.AssertionError

Deletion should be unsuccessful. Exception is expected.

Samebug tips1

Check your pattern declaration or check your assert declaration.


rafaelrafael

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web3567

Stack trace

  • java.lang.AssertionError: Deletion should be unsuccessful. Exception is expected. at org.junit.Assert.fail(Assert.java:91) at com.github.ambry.router.DeleteManagerTest.assertFailureAndCheckErrorCode(DeleteManagerTest.java:430) at com.github.ambry.router.DeleteManagerTest.access$300(DeleteManagerTest.java:54) at com.github.ambry.router.DeleteManagerTest$4.testAndAssert(DeleteManagerTest.java:377) at com.github.ambry.router.RouterTestHelpers.testWithErrorCodes(RouterTestHelpers.java:79) at com.github.ambry.router.RouterTestHelpers.testWithErrorCodes(RouterTestHelpers.java:62) at com.github.ambry.router.DeleteManagerTest.testRouterClosedDuringOperation(DeleteManagerTest.java:371)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

jf-astjf-ast
10 times, last one
Unknown visitor
Unknown visitorOnce,
oddodd
2 times, last one
andyglickandyglick
Once,
Andreas HäberAndreas Häber
8 times, last one
98 more bugmates