You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 23, 2021. It is now read-only.
I was working on integrating PostGres 9.5.4 with OASP4J. I have changed the flyway migration scripts accordingly and also have crated a 'postgre' spring profile for Database connection Url , driver details similar to application-h2mem.properties .
When I try to run 'mvn clean install', Junit oasp4j-sample-core/src/test/java/io/oasp/gastronomy/restaurant/salesmanagement/batch/impl/billexport/BillExportJobTest.java fails . Failure summary is as follows :
Failed tests:
BillExportJobTest.testJob:90 Line number 3 does not match. expected:<[1,true,14.98 EUR,1.30 EUR,1,1,,1,Schnitzel-Men++,DELIVERED,6.99 EUR,mit Ketschup]> but was:<[2,true,14.98 EUR,1.40 EUR,3,1,,3,Pfifferlinge-Men++,DELIVERED,8.99 EUR,]>
Attached is the complete stack trace .
As a workaround , I have removed the records that are the causing the failure from oasp4j-samples-core/src/test/resources/bills.csv file . After removing these records , Junits are successful .
Attached is the screenshot of modified bills.csv that is used as adhoc fix. Also , attached is the screenshot of
actual bills.csv file (It is renamed as bills_h2.csv).
Attached is the guide that contains the instructions for the installation of PostGres 9.5.4 and also the instructions to configure PostGres with OASP4J.
Hi All,
I was working on integrating PostGres 9.5.4 with OASP4J. I have changed the flyway migration scripts accordingly and also have crated a 'postgre' spring profile for Database connection Url , driver details similar to application-h2mem.properties .
When I try to run 'mvn clean install', Junit oasp4j-sample-core/src/test/java/io/oasp/gastronomy/restaurant/salesmanagement/batch/impl/billexport/BillExportJobTest.java fails . Failure summary is as follows :
Failed tests:
BillExportJobTest.testJob:90 Line number 3 does not match. expected:<[1,true,14.98 EUR,1.30 EUR,1,1,,1,Schnitzel-Men++,DELIVERED,6.99 EUR,mit Ketschup]> but was:<[2,true,14.98 EUR,1.40 EUR,3,1,,3,Pfifferlinge-Men++,DELIVERED,8.99 EUR,]>
Attached is the complete stack trace .
As a workaround , I have removed the records that are the causing the failure from oasp4j-samples-core/src/test/resources/bills.csv file . After removing these records , Junits are successful .
Attached is the screenshot of modified bills.csv that is used as adhoc fix. Also , attached is the screenshot of
actual bills.csv file (It is renamed as bills_h2.csv).
Any thoughts/suggestions on the Junit 'BillExportJobTest.java' failure ?
BillExportJobTest-JUnit-Error.txt
Thanks,
Kiran.
The text was updated successfully, but these errors were encountered: