You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@fineract.apache.org by "Aleksandar Vidakovic (Jira)" <ji...@apache.org> on 2020/11/01 22:49:00 UTC

[jira] [Resolved] (FINERACT-1250) AuditIntegrationTest > auditShouldbeCreated() FAILED org.opentest4j.AssertionFailedError: More than one audit created ==> expected: <1> but was: <2>

     [ https://issues.apache.org/jira/browse/FINERACT-1250?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Aleksandar Vidakovic resolved FINERACT-1250.
--------------------------------------------
    Resolution: Fixed

The tests were running twice due to a wrong Travis command line.

> AuditIntegrationTest > auditShouldbeCreated() FAILED    org.opentest4j.AssertionFailedError: More than one audit created ==> expected: <1> but was: <2>
> -------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FINERACT-1250
>                 URL: https://issues.apache.org/jira/browse/FINERACT-1250
>             Project: Apache Fineract
>          Issue Type: Bug
>            Reporter: Michael Vorburger
>            Assignee: Aleksandar Vidakovic
>            Priority: Major
>
> https://travis-ci.org/github/apache/fineract/builds/740577217 for https://github.com/apache/fineract/pull/1465 for FINERACT-1209 failed with:
> {noformat}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){noformat}
> 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?
> [~aleks] is this something you would like to look into?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)