java.lang.AssertionError: Expected 1 slow operation logs, but was 0. expected:<1> but was:<0>

GitHub | hasancelik | 4 months ago
  1. 0

    GitHub comment 6893#238494504

    GitHub | 4 months ago | hasancelik
    java.lang.AssertionError: Expected 1 slow operation logs, but was 0. expected:<1> but was:<0>
  2. 0

    GitHub comment 6893#251680641

    GitHub | 2 months ago | hasancelik
    java.lang.AssertionError: Expected 1 slow operation logs, but was 0. expected:<1> but was:<0>
  3. 0

    GitHub comment 6893#228694583

    GitHub | 5 months ago | hasancelik
    java.lang.AssertionError: Expected 1 slow operation logs, but was 2. expected:<1> but was:<2>
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    SlowOperationDetectorBasicTest Failures

    GitHub | 1 year ago | mdogan
    java.lang.AssertionError: Expected 1 slow operation logs, but was 0. expected:<1> but was:<0>
  6. 0

    [TEST-FAILURE] SlowOperationDetector_purgeTest.testPurging_SlowOperationLog

    GitHub | 2 years ago | bilalyasar
    java.lang.AssertionError: Expected 0 slow operation logs, but was 1 expected:<0> but was:<1>

  1. davidvanlaatum 1 times, last 1 week ago
  2. andyglick 9 times, last 8 months ago
  3. WoodenDoors 3 times, last 8 months ago
  4. davidvanlaatum 103 times, last 9 months ago
32 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.AssertionError

    Expected 1 slow operation logs, but was 0. expected:<1> but was:<0>

    at org.junit.Assert.fail()
  2. JUnit
    Assert.assertEquals
    1. org.junit.Assert.fail(Assert.java:88)
    2. org.junit.Assert.failNotEquals(Assert.java:834)
    3. org.junit.Assert.assertEquals(Assert.java:118)
    3 frames
  3. com.hazelcast.test
    HazelcastTestSupport.assertEqualsStringFormat
    1. com.hazelcast.test.HazelcastTestSupport.assertEqualsStringFormat(HazelcastTestSupport.java:940)
    1 frame
  4. com.hazelcast.spi
    SlowOperationDetectorAbstractTest$1.run
    1. com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest.assertNumberOfSlowOperationLogs(SlowOperationDetectorAbstractTest.java:127)
    2. com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest$1.run(SlowOperationDetectorAbstractTest.java:112)
    2 frames
  5. com.hazelcast.test
    HazelcastTestSupport.assertTrueEventually
    1. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:901)
    2. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:915)
    2 frames
  6. com.hazelcast.spi
    SlowOperationDetectorBasicTest.testSlowRunnableOnGenericOperationThread
    1. com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorAbstractTest.getSlowOperationLogsAndAssertNumberOfSlowOperationLogs(SlowOperationDetectorAbstractTest.java:108)
    2. com.hazelcast.spi.impl.operationexecutor.slowoperationdetector.SlowOperationDetectorBasicTest.testSlowRunnableOnGenericOperationThread(SlowOperationDetectorBasicTest.java:78)
    2 frames