Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0026968Openbravo ERPA. Platformpublic2014-06-30 12:402014-08-08 18:52
alostale 
inigosanchez 
normaltrivialhave not tried
closedfixed 
5
 
3.0PR14Q43.0PR14Q4 
alostale
Core
No
0026968: jUnit test cases falling in latest jdk6 and jdk7
jUnit test cases are failing when they are executed latest version of JDK6 and in any JDK7.

Problem is some of these test cases rely the order each test is executed (based on method name) which is not valid anymore.
See failing test cases
https://ci.openbravo.com/view/try/job/try-checks-pgsql/397/#showFailuresLink [^]
No tags attached.
related to defect 0027107 closed inigosanchez Some more junit testcase ordering problems (with latest java6 updates +java7) 
Issue History
2014-06-30 12:40alostaleNew Issue
2014-06-30 12:40alostaleAssigned To => AugustoMauch
2014-06-30 12:40alostaleModules => Core
2014-06-30 12:40alostaleTriggers an Emergency Pack => No
2014-06-30 12:40alostaleTarget Version => PR14Q4
2014-06-30 12:46alostaleAssigned ToAugustoMauch => inigosanchez
2014-06-30 14:25shuehnerIssue Monitored: shuehner
2014-07-03 09:35alostaleReview Assigned To => alostale
2014-07-03 09:36hgbotCheckin
2014-07-03 09:36hgbotNote Added: 0068526
2014-07-03 09:36hgbotStatusnew => resolved
2014-07-03 09:36hgbotResolutionopen => fixed
2014-07-03 09:36hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d90e33674f60e3b18455d15c22db9958fad1e682 [^]
2014-07-03 09:36alostaleStatusresolved => closed
2014-07-03 09:36alostaleFixed in Version => PR14Q4
2014-07-03 09:37alostaleNote Added: 0068527
2014-07-17 10:36shuehnerRelationship addedrelated to 0027107
2014-08-08 18:52hudsonbotCheckin
2014-08-08 18:52hudsonbotNote Added: 0069131

Notes
(0068526)
hgbot   
2014-07-03 09:36   
Repository: erp/devel/pi
Changeset: d90e33674f60e3b18455d15c22db9958fad1e682
Author: Inigo Sanchez <inigo.sanchez <at> openbravo.com>
Date: Wed Jul 02 13:09:12 2014 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d90e33674f60e3b18455d15c22db9958fad1e682 [^]

fixed bug 26968: jUnit test cases are failing because execution order in JDK7
Problem is some of these test cases rely the order each test is executed (based on method name) which
is not valid anymore. Solved the problem by forcing the required execution order.

---
M src-test/org/openbravo/test/security/EntityAccessTest.java
M src-test/org/openbravo/test/webservice/WSUpdateTest.java
M src-test/org/openbravo/test/xml/EntityXMLImportTestBusinessObject.java
---
(0068527)
alostale   
2014-07-03 09:37   
Code reviewed
Tested by passing try
(0069131)
hudsonbot   
2014-08-08 18:52   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/4450016dee64 [^]
Maturity status: Test