Openbravo Issue Tracking System - Openbravo ERP | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0045320 | Openbravo ERP | Z. Others | public | 2020-10-28 16:04 | 2022-02-01 07:24 |
Reporter | shuehner | ||||
Assigned To | Triage Platform Base | ||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | OS | 5 | OS Version | ||
Product Version | |||||
Target Version | Fixed in Version | ||||
Merge Request Status | |||||
Review Assigned To | |||||
OBNetwork customer | |||||
Web browser | |||||
Modules | Core | ||||
Support ticket | |||||
Regression level | |||||
Regression date | |||||
Regression introduced in release | |||||
Regression introduced by commit | |||||
Triggers an Emergency Pack | No | ||||
Summary | 0045320: junit test HiddenUpdateTest is quite slow and should be reviewed if it can be made faster | ||||
Description | That 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 Reproduce | ant 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 | ||||
Proposed Solution | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
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 |
There are no notes attached to this issue. |