Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0035016Openbravo ERP09. Financial managementpublic2017-01-20 07:432017-01-20 07:43
alostale 
Triage Omni OMS 
normalminorsometimes
newopen 
5
 
 
Core
No
0035016: Unstable APRRegression30007OutTest depending on when it's executed
APRRegression30007OutTest performs assertions on due date, when this test case is executed around midnight, the expected and actual due dates differ.
1. Start executing APRRegression30007OutTest before midnight, it can fail with following report:
    [junit] 2017-01-20 00:06:18,031 [main] ERROR com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - An error occurred in APRRegression30007OutTest: dueDate
    [junit] Expected: is "20-01-2017"
    [junit] got: "19-01-2017"

See a real case: https://ci.openbravo.com/job/try-aproutreg-pgsql/134/consoleFull [^]

    [junit] 2017-01-19 23:53:50,412 [main] INFO com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - ** Starting @Test: APRRegression30007OutTest **
...
    [junit] 2017-01-20 00:06:18,031 [main] ERROR com.openbravo.test.integration.erp.testscripts.OpenbravoERPTest - An error occurred in APRRegression30007OutTest: dueDate
    [junit] Expected: is "20-01-2017"
    [junit] got: "19-01-2017"
No tags attached.
Issue History
2017-01-20 07:43alostaleNew Issue
2017-01-20 07:43alostaleAssigned To => Triage Finance
2017-01-20 07:43alostaleModules => Core
2017-01-20 07:43alostaleTriggers an Emergency Pack => No

There are no notes attached to this issue.