Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0028876 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
defect | [Openbravo ERP] A. Platform | minor | have not tried | 2015-02-05 17:24 | 2015-02-09 12:27 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | ||||
Status | closed | Fix in branch | Fixed in SCM revision | bdf1796ee012 | ||||
Projection | none | ETA | none | Target Version | ||||
OS | Any | Database | Any | Java version | ||||
OS Version | Database version | Ant version | ||||||
Product Version | SCM revision | |||||||
Merge Request Status | ||||||||
Review Assigned To | inigosanchez | |||||||
OBNetwork customer | No | |||||||
Web browser | ||||||||
Modules | Core | |||||||
Support ticket | ||||||||
Regression level | ||||||||
Regression date | ||||||||
Regression introduced in release | ||||||||
Regression introduced by commit | ||||||||
Triggers an Emergency Pack | No | |||||||
Summary | 0028876: OBBaseTest rolls back all test executions | |||||||
Description | After executing any OBBaseTest junit test case, rollback is performed on DAL session. The expected behavior is to commit in case of success and rollback only in case of failure. In this way it is possible to make tests dependent on other ones. | |||||||
Steps To Reproduce | See attached test cases, it fails because 2nd test case expects objects created in 1st one are still present. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ![]() | |||||||
![]() |
||||||||
|
![]() |
|
(0074236) hgbot (developer) 2015-02-06 08:55 |
Repository: erp/devel/pi Changeset: bdf1796ee0120d1796e48d13cdcc78be894c790c Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Feb 05 17:30:09 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/bdf1796ee0120d1796e48d13cdcc78be894c790c [^] fixed bug 28876: OBBaseTest rolls back all test executions Added a test watcher to determine wether the test failed or succeeded and do the commit/rollback based on that. --- M src-test/src/org/openbravo/test/base/OBBaseTest.java --- |
(0074237) hgbot (developer) 2015-02-06 08:55 |
Repository: erp/devel/pi Changeset: 0c0527b41e73d687595d89be4e2e08afbb165b5b Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Thu Feb 05 17:30:40 2015 +0100 URL: http://code.openbravo.com/erp/devel/pi/rev/0c0527b41e73d687595d89be4e2e08afbb165b5b [^] related to bug 28876: added test case --- M src-test/src/org/openbravo/test/AllAntTaskTests.java M src-test/src/org/openbravo/test/AllQuickAntTaskTests.java M src-test/src/org/openbravo/test/AntTaskTests.java A src-test/src/org/openbravo/test/system/TestInfrastructure.java --- |
(0074239) hgbot (developer) 2015-02-06 08:55 |
Repository: erp/devel/api-checks Changeset: 8dbaaba6e596729afabf26660026f81e335126c9 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Feb 06 08:54:24 2015 +0100 URL: http://code.openbravo.com/erp/devel/api-checks/rev/8dbaaba6e596729afabf26660026f81e335126c9 [^] related to bug 28876: fixed false api change positive Changes in ClassicSelectorTest were detected, this is a false positive because test package is excluded from api checks, though this class contains test cases, it is not excluded because it is not in org.openbravo.test package. --- M java/reference/java.japi.gz --- |
(0074260) hudsonbot (viewer) 2015-02-06 15:42 |
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/354f8004acc8 [^] Maturity status: Test |
(0074261) hudsonbot (viewer) 2015-02-06 15:42 |
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/354f8004acc8 [^] Maturity status: Test |
(0074280) inigosanchez (viewer) 2015-02-09 12:27 |
Code reviewed and verified in pi@5461e9cb19dd |
![]() |
|||
Date Modified | Username | Field | Change |
2015-02-05 17:24 | alostale | New Issue | |
2015-02-05 17:24 | alostale | Assigned To | => alostale |
2015-02-05 17:24 | alostale | OBNetwork customer | => No |
2015-02-05 17:24 | alostale | Modules | => Core |
2015-02-05 17:24 | alostale | Triggers an Emergency Pack | => No |
2015-02-05 17:25 | alostale | File Added: TestInfrastructure.java | |
2015-02-05 17:26 | alostale | Steps to Reproduce Updated | View Revisions |
2015-02-06 08:22 | alostale | Relationship added | related to 0027290 |
2015-02-06 08:23 | alostale | Review Assigned To | => inigosanchez |
2015-02-06 08:55 | hgbot | Checkin | |
2015-02-06 08:55 | hgbot | Note Added: 0074236 | |
2015-02-06 08:55 | hgbot | Status | new => resolved |
2015-02-06 08:55 | hgbot | Resolution | open => fixed |
2015-02-06 08:55 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/bdf1796ee0120d1796e48d13cdcc78be894c790c [^] |
2015-02-06 08:55 | hgbot | Checkin | |
2015-02-06 08:55 | hgbot | Note Added: 0074237 | |
2015-02-06 08:55 | hgbot | Checkin | |
2015-02-06 08:55 | hgbot | Note Added: 0074239 | |
2015-02-06 15:42 | hudsonbot | Checkin | |
2015-02-06 15:42 | hudsonbot | Note Added: 0074260 | |
2015-02-06 15:42 | hudsonbot | Checkin | |
2015-02-06 15:42 | hudsonbot | Note Added: 0074261 | |
2015-02-09 12:27 | inigosanchez | Note Added: 0074280 | |
2015-02-09 12:27 | inigosanchez | Status | resolved => closed |
Copyright © 2000 - 2009 MantisBT Group |