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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0034769
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] A. Platformminorhave not tried2016-12-19 11:502016-12-27 10:17
ReportershuehnerView Statuspublic 
Assigned Toalostale 
PrioritynormalResolutionfixedFixed in Version3.0PR17Q1
StatusclosedFix in branchFixed in SCM revisionfdaa72200164
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

0034769: Skip grid config related junit tests if any module shipping grid configuration is installed.

Descriptionsrc-test of pi has several grid configuration related junit tests which indirectly assume no other grid configuration is applied.

In some mod-* modules related ci tests there are modules installed shipping grid configuration which makes those core junit test fail (ca. 120 individual tests).

It would be nice if the core junit test could be enhanced to 'skip' themselves if they defect any grid config (i.e. by doing db query or similar).

Steps To Reproducerun junit tests in an environment with grid configuration installed
example job:
https://ci.openbravo.com/job/mod-simple/8092/#showFailuresLink [^]
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]
related to defect 0028478 closedNaroaIriarte view generation: unneeded queries to grid config tables 
related to defect 0035303 closedshuehner Skip grid config related junit tests if any module shipping grid configuration is installed - part2 
related to defect 0038319 closedshuehner Skip grid config related junit tests if any module shipping grid configuration is installed - part3 

-  Notes
(0092774)
hgbot (developer)
2016-12-19 12:22

Repository: erp/devel/pi
Changeset: fdaa722001641768b57c5a56c68a88c47f2f3957
Author: Asier Lostalé <asier.lostale <at> openbravo.com>
Date: Mon Dec 19 12:19:33 2016 +0100
URL: http://code.openbravo.com/erp/devel/pi/rev/fdaa722001641768b57c5a56c68a88c47f2f3957 [^]

fixed issue 34769: Skip grid config related tests if there are custom configs

  When a module ships custom grid configurations, it is possible they to interfer
  with expected values in test cases checking grid config behavior.

  Skip these tests in those cases. Note there are a couple of configurations shipped
  by core, they shouldn't be considered.

---
M src-test/src/org/openbravo/test/views/ViewGenerationWithDifferentConfigLevelTest.java
---
(0092800)
hudsonbot (developer)
2016-12-19 23:17

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/8c51303887c8 [^]
Maturity status: Test
(0093009)
inigosanchez (developer)
2016-12-27 10:17

Code review and tested in pi@304cd8d235f9

With core grid config -> Tests are not skipped -> OK.
Create a custom grid config -> Tests are skipped -> OK.

- Issue History
Date Modified Username Field Change
2016-12-19 11:50 shuehner New Issue
2016-12-19 11:50 shuehner Assigned To => platform
2016-12-19 11:50 shuehner Modules => Core
2016-12-19 11:50 shuehner Triggers an Emergency Pack => No
2016-12-19 12:09 alostale Relationship added related to 0028478
2016-12-19 12:09 alostale Assigned To platform => alostale
2016-12-19 12:22 hgbot Checkin
2016-12-19 12:22 hgbot Note Added: 0092774
2016-12-19 12:22 hgbot Status new => resolved
2016-12-19 12:22 hgbot Resolution open => fixed
2016-12-19 12:22 hgbot Fixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/fdaa722001641768b57c5a56c68a88c47f2f3957 [^]
2016-12-19 23:17 hudsonbot Checkin
2016-12-19 23:17 hudsonbot Note Added: 0092800
2016-12-23 08:54 alostale Review Assigned To => inigosanchez
2016-12-27 10:17 inigosanchez Note Added: 0093009
2016-12-27 10:17 inigosanchez Status resolved => closed
2016-12-27 10:17 inigosanchez Fixed in Version => 3.0PR17Q1
2017-02-19 13:59 shuehner Relationship added related to 0035303
2018-04-10 19:45 shuehner Relationship added related to 0038319


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker