Uploaded image for project: 'Apache Fineract'
  1. Apache Fineract
  2. FINERACT-1250

AuditIntegrationTest > auditShouldbeCreated() FAILED org.opentest4j.AssertionFailedError: More than one audit created ==> expected: <1> but was: <2>

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.5.0
    • Component/s: None
    • Labels:
      None

      Description

      https://travis-ci.org/github/apache/fineract/builds/740577217 for https://github.com/apache/fineract/pull/1465 for FINERACT-1209 failed with:

      AuditIntegrationTest > auditShouldbeCreated() FAILED
      
          org.opentest4j.AssertionFailedError: More than one audit created ==> expected: <1> but was: <2>
      
              at org.junit.jupiter.api.AssertionUtils.fail(AssertionUtils.java:55)
      
              at org.junit.jupiter.api.AssertionUtils.failNotEqual(AssertionUtils.java:62)
      
              at org.junit.jupiter.api.AssertEquals.assertEquals(AssertEquals.java:150)
      
              at org.junit.jupiter.api.Assertions.assertEquals(Assertions.java:542)
      
              at org.apache.fineract.integrationtests.common.AuditHelper.verifyOneAuditOnly(AuditHelper.java:74)
      
              at org.apache.fineract.integrationtests.AuditIntegrationTest.auditShouldbeCreated(AuditIntegrationTest.java:82)

      This seems to be a new problem. I'm not sure if or it could be related to the move of the tests in FINERACT-1209... but perhaps they e.g. run in a different order now, so there is 1 Audit entry more?

      Aleksandar Vidakovic is this something you would like to look into?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aleks Aleksandar Vidakovic
                Reporter:
                vorburger Michael Vorburger
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: