org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: executionCallback.onFailure( <Capturing argument> ); -> at com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest$4.run(Invocation_TimeoutTest.java:341) Actually, there were zero interactions with this mock.

GitHub | hasancelik | 11 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 7932#228714478

    GitHub | 11 months ago | hasancelik
    org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: executionCallback.onFailure( <Capturing argument> ); -> at com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest$4.run(Invocation_TimeoutTest.java:341) Actually, there were zero interactions with this mock.

    Root Cause Analysis

    1. org.mockito.exceptions.verification.WantedButNotInvoked

      Wanted but not invoked: executionCallback.onFailure( <Capturing argument> ); -> at com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest$4.run(Invocation_TimeoutTest.java:341) Actually, there were zero interactions with this mock.

      at com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest$4.run()
    2. com.hazelcast.spi
      Invocation_TimeoutTest$4.run
      1. com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest$4.run(Invocation_TimeoutTest.java:341)
      1 frame
    3. com.hazelcast.test
      HazelcastTestSupport.assertTrueEventually
      1. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:884)
      2. com.hazelcast.test.HazelcastTestSupport.assertTrueEventually(HazelcastTestSupport.java:898)
      2 frames
    4. com.hazelcast.spi
      Invocation_TimeoutTest.async_whenCallTimeout_thenOperationTimeoutException
      1. com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest.assertEventuallyFailsWithCallTimeout(Invocation_TimeoutTest.java:337)
      2. com.hazelcast.spi.impl.operationservice.impl.Invocation_TimeoutTest.async_whenCallTimeout_thenOperationTimeoutException(Invocation_TimeoutTest.java:315)
      2 frames