org.mockito.exceptions.verification.TooLittleActualInvocations: stateRepository.getFeatureState(TEST); Wanted 5 times:

Google Groups | Richard Steele | 2 years ago
  1. 0

    Erratic test failure in CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife

    Google Groups | 2 years ago | Richard Steele
    org.mockito.exceptions.verification.TooLittleActualInvocations: stateRepository.getFeatureState(TEST); Wanted 5 times:
  2. 0

    Failed: YARN-2495 PreCommit Build #6036

    hadoop-yarn-dev | 2 years ago | Apache Jenkins Server
    org.mockito.exceptions.verification.TooLittleActualInvocations: rMAppManager.logApplicationSummary( isA(org.apache.hadoop.yarn.api.records.ApplicationId) ); Wanted 3 times: -> at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartGetApplicationList(TestRMRestart.java:960) But was 2 times: -> at org.apache.hadoop.yarn.server.resourcemanager.RMAppManager.handle(RMAppManager.java:66)
  3. 0

    HttpServerBootstrapTest#shouldAcceptEchoThenClose occasionally failing on TravisCI

    GitHub | 2 years ago | dpwspoon
    org.junit.experimental.theories.internal.ParameterizedAssertionError: shouldAcceptEchoThenClose("CHUNKED" <from CONTENT_STRATEGIES[1]>)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    MarathonSchedulerActorTest FAILED.

    GitHub | 10 months ago | kuldeepsinh-3990
    org.mockito.exceptions.verification.TooLittleActualInvocations: schedulerActions.reconcileTasks(<any>); Wanted 3 times: -> at mesosphere.marathon.MarathonSchedulerActorTest$$anonfun$14.apply$mcV$sp(MarathonSchedulerActorTest.scala:520) But was 2 times: -> at mesosphere.marathon.MarathonSchedulerActor$$anonfun$started$1.applyOrElse(MarathonSchedulerActor.scala:114)
  6. 0

    Hadoop-Yarn-trunk-Java8 - Build # 55 - Still Failing

    hadoop-yarn-dev | 2 years ago | Apache Jenkins Server
    org.mockito.exceptions.verification.TooLittleActualInvocations: rMAppManager.logApplicationSummary( isA(org.apache.hadoop.yarn.api.records.ApplicationId) ); Wanted 3 times: -> at org.apache.hadoop.yarn.server.resourcemanager.TestRMRestart.testRMRestartGetApplicationList(TestRMRestart.java:964)

    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. org.mockito.exceptions.verification.TooLittleActualInvocations

      stateRepository.getFeatureState(TEST); Wanted 5 times:

      at org.togglz.core.repository.cache.CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife()
    2. org.togglz.core
      CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife
      1. org.togglz.core.repository.cache.CachingStateRepositoryTest.testCacheExpiryBecauseOfTimeToLife(CachingStateRepositoryTest.java:105)
      1 frame