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 | 8 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 7932#228714478

    GitHub | 8 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