Project:
View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | ||||||||
0032760 | ||||||||
Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||
feature request | [Openbravo ERP] A. Platform | trivial | have not tried | 2016-04-22 07:53 | 2016-05-01 20:29 | |||
Reporter | alostale | View Status | public | |||||
Assigned To | alostale | |||||||
Priority | normal | Resolution | fixed | Fixed in Version | 3.0PR16Q3 | |||
Status | closed | Fix in branch | Fixed in SCM revision | c8a6c060de10 | ||||
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 | 0032760: add to jUnit test cases log context about when they start and complete | |||||||
Description | When jUnit test cases are executed, the information they log gets buried among other logs from other tests. This makes very difficult to know from a log which test case produced it. | |||||||
Steps To Reproduce | See any log of checks jobs in CI (ie. https://ci.openbravo.com/job/int-checks-pgsql/2173/consoleFull [^]). There you can see several lines with this info: [junit] 30269 [main] WARN org.openbravo.dal.core.OBContext - The user 100 does not have write access to its current organization repairing that But it is not possible to know which test cases are producing them. | |||||||
Proposed Solution | At least for test cases extending OBBaseTest, which is the vast majority, log when they start and the complete. | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
![]() |
|
![]() |
|
(0085858) hgbot (developer) 2016-04-22 07:56 |
Repository: erp/devel/pi Changeset: c8a6c060de10ad656114c83e6c63678659953724 Author: Asier Lostalé <asier.lostale <at> openbravo.com> Date: Fri Apr 22 07:55:38 2016 +0200 URL: http://code.openbravo.com/erp/devel/pi/rev/c8a6c060de10ad656114c83e6c63678659953724 [^] fixed 32760: add to jUnit test cases log info about when they start/complete Now when test cases extending OBBaseTest are executed, a line is logged before they start and when they complete. --- M src-test/src/org/openbravo/test/base/OBBaseTest.java --- |
(0086100) inigosanchez (viewer) 2016-05-01 20:29 |
code reviewed and tested in pi@1db683d7fd72 |
![]() |
|||
Date Modified | Username | Field | Change |
2016-04-22 07:53 | alostale | New Issue | |
2016-04-22 07:53 | alostale | Assigned To | => platform |
2016-04-22 07:53 | alostale | OBNetwork customer | => No |
2016-04-22 07:53 | alostale | Modules | => Core |
2016-04-22 07:53 | alostale | Triggers an Emergency Pack | => No |
2016-04-22 07:54 | alostale | Review Assigned To | => inigosanchez |
2016-04-22 07:54 | alostale | Status | new => scheduled |
2016-04-22 07:54 | alostale | Assigned To | platform => alostale |
2016-04-22 07:56 | hgbot | Checkin | |
2016-04-22 07:56 | hgbot | Note Added: 0085858 | |
2016-04-22 07:56 | hgbot | Status | scheduled => resolved |
2016-04-22 07:56 | hgbot | Resolution | open => fixed |
2016-04-22 07:56 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/c8a6c060de10ad656114c83e6c63678659953724 [^] |
2016-05-01 20:29 | inigosanchez | Note Added: 0086100 | |
2016-05-01 20:29 | inigosanchez | Status | resolved => closed |
2016-05-01 20:29 | inigosanchez | Fixed in Version | => 3.0PR16Q3 |
Copyright © 2000 - 2009 MantisBT Group |