Anonymous | Login
Project:
RSS
  
News | My View | View Issues | Roadmap | Summary

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0032760
TypeCategorySeverityReproducibilityDate SubmittedLast Update
feature request[Openbravo ERP] A. Platformtrivialhave not tried2016-04-22 07:532016-05-01 20:29
ReporteralostaleView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR16Q3
StatusclosedFix in branchFixed in SCM revisionc8a6c060de10
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned Toinigosanchez
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0032760: add to jUnit test cases log context about when they start and complete

DescriptionWhen 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 ReproduceSee 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 SolutionAt least for test cases extending OBBaseTest, which is the vast majority, log when they start and the complete.
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
(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 (developer)
2016-05-01 20:29

code reviewed and tested in pi@1db683d7fd72

- Issue History
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 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
Powered by Mantis Bugtracker