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
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded 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