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

View Issue DetailsJump to Notes ] Issue History ] Print ]
ID
0045320
TypeCategorySeverityReproducibilityDate SubmittedLast Update
defect[Openbravo ERP] Z. Othersminorhave not tried2020-10-28 16:042022-02-01 07:24
ReportershuehnerView Statuspublic 
Assigned ToTriage Platform Base 
PrioritynormalResolutionopenFixed in Version
StatusnewFix in branchFixed in SCM revision
ProjectionnoneETAnoneTarget Version
OSAnyDatabaseAnyJava version
OS VersionDatabase versionAnt version
Product VersionSCM revision 
Review Assigned To
Web browser
ModulesCore
Regression level
Regression date
Regression introduced in release
Regression introduced by commit
Triggers an Emergency PackNo
Summary

0045320: junit test HiddenUpdateTest is quite slow and should be reviewed if it can be made faster

DescriptionThat single junit test takes around 10seconds as it is looping over every existing table and reading first 5 records (without order by) to test against bad behavior.

The test should be reviewed if it cannot be cut down to check less cases without loosing coverage.
Note: several seconds seems to be either commitAndClose or reinitialize calls happening after the entity loop.
Steps To Reproduceant run.all.tests and checkout text-output and look at timestamp of this specific junit test class

    [junit] 12:35:05.608 INFO org.openbravo.test.base.OBBaseTest - *** Starting test case: org.openbravo.test.dal.HiddenUpdateTest.testHiddenUpdates

hundreds of lines with 1 entity each

    [junit] 12:35:10.487 INFO org.openbravo.test.dal.HiddenUpdateTest - Checking entity OBKMO_WidgetClassMenu
    [junit] 12:35:13.621 INFO org.openbravo.test.base.OBBaseTest - *** Finished test case: org.openbravo.test.dal.HiddenUpdateTest.testHiddenUpdates
TagsNo tags attached.
Attached Files

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2020-10-28 16:04 shuehner New Issue
2020-10-28 16:04 shuehner Assigned To => platform
2020-10-28 16:04 shuehner Modules => Core
2020-10-28 16:04 shuehner Triggers an Emergency Pack => No
2022-02-01 07:24 alostale Assigned To platform => Triage Platform Base


Copyright © 2000 - 2009 MantisBT Group
Powered by Mantis Bugtracker