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

GitHub | hasancelik | 9 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    GitHub comment 6893#238494504

    GitHub | 9 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 | 7 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 | 10 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>
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