org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: alertManager.sendQuotaAlert( org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@42ed8181 ); -> at org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251) Actually, there were zero interactions with this mock.

cloudstack-dev | jenkins@cloudstack.org | 1 year 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

    Build failed in Jenkins: build-master-slowbuild #2892

    cloudstack-dev | 1 year ago | jenkins@cloudstack.org
    org.mockito.exceptions.verification.WantedButNotInvoked: Wanted but not invoked: alertManager.sendQuotaAlert( org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@42ed8181 ); -> at org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251) Actually, there were zero interactions with this mock.

    Root Cause Analysis

    1. org.mockito.exceptions.verification.WantedButNotInvoked

      Wanted but not invoked: alertManager.sendQuotaAlert( org.apache.cloudstack.quota.QuotaAlertManagerImpl$DeferredQuotaEmail@42ed8181 ); -> at org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251) Actually, there were zero interactions with this mock.

      at org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement()
    2. org.apache.cloudstack
      QuotaStatementTest.testSendStatement
      1. org.apache.cloudstack.quota.QuotaStatementTest.testSendStatement(QuotaStatementTest.java:251)
      1 frame