Hi Mathieu,

it is actually probably related to the new Year... the demo data for the
financial period has a thruDate="2020-01-01 23:59:59.000"
I can have a look at this later today.

Jacopo


On Thu, Jan 2, 2020 at 7:32 PM Mathieu Lirzin <mathieu.lir...@nereide.fr>
wrote:

> Hello,
>
> On my system I am noticing that the integration tests are failing with
> the following error snippet:
>
> --8<---------------cut here---------------start------------->8---
> $ ./gradlew "ofbiz --test component=accounting --test
> suitename=accountingtests"
> [...]
> 2020-01-02 19:15:11,829 |main                 |TestRunContainer
>   |I| -->
> auto-accounting-transaction-tests-purchase.testAcctgTransOnPaymentSentToSupplier(org.apache.ofbiz.testtools.SimpleMethodTest):
> Assertion failed: [acctgTrans.glJournalId=ERROR_JOURNAL] not-equals
> ERROR_JOURNAL as
> 2020-01-02 19:15:11,829 |main                 |TestRunContainer
>   |I| junit.framework.AssertionFailedError: Assertion failed:
> [acctgTrans.glJournalId=ERROR_JOURNAL] not-equals ERROR_JOURNAL as
>         at
> org.apache.ofbiz.testtools.SimpleMethodTest.run(SimpleMethodTest.java:98)
>         at junit.framework.TestSuite.runTest(TestSuite.java:252)
>         at junit.framework.TestSuite.run(TestSuite.java:247)
>         at
> org.apache.ofbiz.testtools.TestRunContainer.start(TestRunContainer.java:90)
>         at
> org.apache.ofbiz.base.container.ContainerLoader.startLoadedContainers(ContainerLoader.java:156)
>         at
> org.apache.ofbiz.base.container.ContainerLoader.load(ContainerLoader.java:78)
>         at
> org.apache.ofbiz.base.start.StartupControlPanel.loadContainers(StartupControlPanel.java:160)
>         at
> org.apache.ofbiz.base.start.StartupControlPanel.start(StartupControlPanel.java:71)
>         at org.apache.ofbiz.base.start.Start.main(Start.java:90)
> --8<---------------cut here---------------end--------------->8---
>
> I was neither able to understand the issue nor bisect to find the origin
> of that failure. Since I remember running the integration tests less
> than a week ago, I am suspecting that this might be related to new
> year...  I hope this is not actually the case.
>
> --
> Mathieu Lirzin
> GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37
>

Reply via email to