java.lang.AssertionError: expected:<LOCK_FAILURE> but was:<FOUND>

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.

Check your pattern declaration or check your assert declaration.


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

  • Sculptor: DDDSample test failure in trunk
    via by Ron Smith,
  • GitHub comment 35#23724637
    via GitHub by sdussin
  • JUnit - User - Theories Usability
    via by Unknown author,
    • java.lang.AssertionError: expected:<LOCK_FAILURE> but was:<FOUND> at at org.junit.Assert.failNotEquals( at org.junit.Assert.assertEquals( at org.junit.Assert.assertEquals( at org.kuali.kits.kms.repository.test.BatchProcessorTest.testAsikLocking( at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke( at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke(

    Users with the same issue

    Axelo2 times, last one,
    jf-ast1 times, last one,
    odd17 times, last one,
    rocday1 times, last one,
    andyglick2 times, last one,
    94 more bugmates