Project: 	
  | View Issue Details[ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||||||
| ID | ||||||||||||
| 0045320 | ||||||||||||
| Type | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
| defect | [Openbravo ERP] Z. Others | minor | have not tried | 2020-10-28 16:04 | 2022-02-01 07:24 | |||||||
| Reporter | shuehner | View Status | public | |||||||||
| Assigned To | Triage Platform Base | |||||||||||
| Priority | normal | Resolution | open | Fixed in Version | ||||||||
| Status | new | Fix in branch | Fixed in SCM revision | |||||||||
| 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 | ||||||||||||
| 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 | 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  | |||||||||||
| Tags | No tags attached. | |||||||||||
| Attached Files | ||||||||||||
		  Relationships		[ Relation Graph ] 
		[ Dependency Graph ] 
			 | 
|
  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 | OBNetwork customer | => No | 
| 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 |