Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0023607 | Openbravo ERP | A. Platform | public | 2013-04-22 15:04 | 2013-04-29 18:11 |
|
Reporter | shuehner | |
Assigned To | shuehner | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | 5 | OS Version | |
Product Version | | |
Target Version | | Fixed in Version | 3.0MP23 | |
Merge Request Status | |
Review Assigned To | AugustoMauch |
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 | 0023607: deleteClient junit test is slower then needed - part1 |
Description | That test does delete a client and has extra verification to ensure that all foreign keys are re-enabled correctly after the deleteClient operation. For this it does load the complete db-model before and after running deleteClient.
However for the verification of foreign keys only the tables part of the model loading is needed, the rest can be skipped.
As that rest at least on postgres is a very heavy operation (i.e. because of the function- & trigger-standardization) not doing that extra part will lead to a substantial speedup of the testcase.
|
Steps To Reproduce | run the testDeleteClient testcase from the ClientExportImport test
It can be seen that it takes quick a long time (around 5minutes)
Check the code in the testDeleteClient method doing the 2* loadModelFromDatabase and observe that it does not use the complete model but only the list of fk-constraints attached to the tables of the model.
|
Proposed Solution | |
Additional Information | |
Tags | No tags attached. |
Relationships | |
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2013-04-22 15:04 | shuehner | New Issue | |
2013-04-22 15:04 | shuehner | Assigned To | => shuehner |
2013-04-22 15:04 | shuehner | Modules | => Core |
2013-04-22 15:04 | shuehner | OBNetwork customer | => No |
2013-04-22 15:04 | shuehner | Triggers an Emergency Pack | => No |
2013-04-22 15:06 | hgbot | Checkin | |
2013-04-22 15:06 | hgbot | Note Added: 0058090 | |
2013-04-22 15:06 | hgbot | Status | new => resolved |
2013-04-22 15:06 | hgbot | Resolution | open => fixed |
2013-04-22 15:06 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/8a81298c4d0d5fac04484c357efc39804f7ba1f6 [^] |
2013-04-22 15:07 | shuehner | Review Assigned To | => AugustoMauch |
2013-04-23 21:03 | hudsonbot | Checkin | |
2013-04-23 21:03 | hudsonbot | Note Added: 0058154 | |
2013-04-29 18:11 | AugustoMauch | Note Added: 0058309 | |
2013-04-29 18:11 | AugustoMauch | Status | resolved => closed |
2013-04-29 18:11 | AugustoMauch | Fixed in Version | => 3.0MP23 |