details:   https://code.openbravo.com/erp/devel/pi/rev/7a248f55faf5
changeset: 24081:7a248f55faf5
user:      Martin Taal <martin.taal <at> openbravo.com>
date:      Mon Jul 21 01:53:37 2014 +0200
summary:   Fixes issue 27112: DatasetExportTest.testIncludeAllPlusChildren 
fails with oom on bigger c_order (+children)

diffstat:

 src-test/org/openbravo/test/xml/DatasetExportTest.java |  11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diffs (21 lines):

diff -r d4dc31fc531b -r 7a248f55faf5 
src-test/org/openbravo/test/xml/DatasetExportTest.java
--- a/src-test/org/openbravo/test/xml/DatasetExportTest.java    Sat Jul 19 
19:59:28 2014 +0200
+++ b/src-test/org/openbravo/test/xml/DatasetExportTest.java    Mon Jul 21 
01:53:37 2014 +0200
@@ -266,6 +266,17 @@
     dst.setExcludeAuditInfo(true);
     dst.setIncludeAllColumns(true);
     dst.setTable(table);
+    if (tableName.equals(Order.TABLE_NAME)) {
+      dst.setSQLWhereClause("id in 
('C56A4B27B49941AB8B9F35396CB15C12','8ED7AAEB268848F88C3AA215B8457B3D',"
+          + 
"'510DD91466964C1CB23441F7288B355D','896E0588D1FC4FB9B8A62C204C08C213',"
+          + 
"'B75A5CF209B74B37BFF0A8CC21B1B15A','029FB113350249BEB492B86F53FF70CF',"
+          + 
"'FBF47A639DB64E23946CABEAB5C77B08','7CD40D3BD143468DAA466E501D4FCBFF',"
+          + 
"'B900C76C06BB4EA38E2242363320647D','F3D780AF3CB24CA4AA6A74ABA5D39EBD',"
+          + 
"'D4FFBDF80B0E4FEA961488B1304BF9D1','12124C88BB944A4CB3AF5C31847CC364',"
+          + 
"'6DA22F7D51E945DE9D2EEB38EADEB76C','35FBEAB092424B509A4261DD78CDC097',"
+          + 
"'C5B948B6C51B404F97864B0880B1DCFD','C7C9522EF68A46F884932AB16139E42A',"
+          + 
"'7623359D4ABE47A9B1AD9FE646C2F231','7B697CAAF177484F9B4FCF6102B2060F')");
+    }
     return dst;
   }
 

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
Openbravo-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbravo-commits

Reply via email to