java.lang.AssertionError

tip

Check your pattern declaration or check your assert declaration.


rafaelrafael

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

  • GitHub comment 6893#238494504
    via GitHub by hasancelik
    ,
  • GitHub comment 6893#251680641
    via GitHub by hasancelik
    ,
  • GitHub comment 6893#228694583
    via GitHub by hasancelik
    ,
  • GitHub comment 5173#226104759
    via GitHub by hasancelik
    ,
  • Junit AssertionError
    via Stack Overflow by Pyrus FlameWielder
    ,
    • java.lang.AssertionError: Expected 1 slow operation logs, but was 0. expected:<1> but was:<0> at org.junit.Assert.fail(Assert.java:88) at org.junit.Assert.failNotEquals(Assert.java:834) at org.junit.Assert.assertEquals(Assert.java:118) at com.hazelcast.test.HazelcastTestSupport.assertEqualsStringFormat(HazelcastTestSupport.java:940) at com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest.assertNumberOfSlowOperationLogs(SlowOperationDetectorAbstractTest.java:127) at com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest$1.run(SlowOperationDetectorAbstractTest.java:112) at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:901) at com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:915) at com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest.getSlowOperationLogsAndAssertNumberOfSlowOperationLogs(SlowOperationDetectorAbstractTest.java:108) at com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorBasicTest.testSlowRunnableOnGenericOperationThread(SlowOperationDetectorBasicTest.java:78)

    Users with the same issue

    jf-astjf-ast
    1 times, last one,
    oddodd
    1 times, last one,
    richard77richard77
    1 times, last one,
    MoYaproMoYapro
    1 times, last one,
    AxeloAxelo
    3 times, last one,
    95 more bugmates