Openbravo Issue Tracking System - Openbravo ERP |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0038319 | Openbravo ERP | A. Platform | public | 2018-04-10 19:45 | 2018-05-09 19:29 |
|
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.0PR18Q3 | |
Merge Request Status | |
Review Assigned To | caristu |
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 | 0038319: Skip grid config related junit tests if any module shipping grid configuration is installed - part3 |
Description | Same case as already reported and partially fixed in issue 34769 and 35303.
The GCSequenceNumberTests junit test is the 3rd junit test in pi which test Grid Config for correct behavior.
It does that by creating some specific Grid Config on Tab Level entries and verifies the expected behavior.
However when that test-case is ran in a environment having some other grid config module installed for the same tab i.e. Business Partner that can lead to random behavior.
I.e. both rows same sequencenumbers (10) -> so order by essentially still random.
Noticed in CI tests mod-BUT related test as 'randomly failing'
Same fix as done in the other 2 issues -> auto-skip junit test if any non-core grid config entries are detected.
|
Steps To Reproduce | https://ci.openbravo.com/job/mod-simple/23260/testReport/junit/org.openbravo.test.views/GCSequenceNumberTests/differentTabSameSequenceNumber/ [^]
Note -> Test will not fails always but appears as random failure. |
Proposed Solution | Apply same change 'auto-skip' if any other grid-config entries are found. |
Additional Information | |
Tags | No tags attached. |
Relationships | related to | defect | 0034769 | | closed | alostale | Skip grid config related junit tests if any module shipping grid configuration is installed. | related to | defect | 0035303 | | closed | shuehner | Skip grid config related junit tests if any module shipping grid configuration is installed - part2 | related to | defect | 0039699 | | closed | caristu | SortingFilteringGridConfiguration is failing when it should be skipped |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2018-04-10 19:45 | shuehner | New Issue | |
2018-04-10 19:45 | shuehner | Assigned To | => platform |
2018-04-10 19:45 | shuehner | Modules | => Core |
2018-04-10 19:45 | shuehner | Triggers an Emergency Pack | => No |
2018-04-10 19:45 | shuehner | Relationship added | related to 0034769 |
2018-04-10 19:45 | shuehner | Relationship added | related to 0035303 |
2018-04-10 19:50 | shuehner | Note Added: 0103787 | |
2018-04-10 19:52 | hgbot | Checkin | |
2018-04-10 19:52 | hgbot | Note Added: 0103788 | |
2018-04-10 19:52 | hgbot | Status | new => resolved |
2018-04-10 19:52 | hgbot | Resolution | open => fixed |
2018-04-10 19:52 | hgbot | Fixed in SCM revision | => http://code.openbravo.com/erp/devel/pi/rev/ad665ee3f59e99f525968dfa4dd8a4405c87eda9 [^] |
2018-04-10 19:52 | shuehner | Review Assigned To | => caristu |
2018-04-10 19:52 | shuehner | Assigned To | platform => shuehner |
2018-04-11 16:07 | hgbot | Checkin | |
2018-04-11 16:07 | hgbot | Note Added: 0103819 | |
2018-04-11 16:08 | caristu | Note Added: 0103820 | |
2018-04-11 16:08 | caristu | Status | resolved => closed |
2018-04-11 16:08 | caristu | Fixed in Version | => 3.0PR18Q3 |
2018-05-09 19:29 | hudsonbot | Checkin | |
2018-05-09 19:29 | hudsonbot | Note Added: 0104371 | |
2018-11-27 10:46 | caristu | Relationship added | related to 0039699 |
Notes |
|
|
|
|
(0103788)
|
hgbot
|
2018-04-10 19:52
|
|
Repository: erp/devel/pi
Changeset: ad665ee3f59e99f525968dfa4dd8a4405c87eda9
Author: Stefan Hühner <stefan.huehner <at> openbravo.com>
Date: Tue Apr 10 19:48:23 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/ad665ee3f59e99f525968dfa4dd8a4405c87eda9 [^]
Fixed 38319. Auto-skip grid config junit test if other grid config present.
That test creates a specially crated grid config entry and verifies expected
behavior. That indirectly requires no other conflicting grid config present
for the same object (i.e. Business Partner tab). So auto-skip this testcase
if any non-core grid config is found similar to what the other 2 grid config
related tests already do.
---
M src-test/src/org/openbravo/test/views/GCSequenceNumberTests.java
---
|
|
|
(0103819)
|
hgbot
|
2018-04-11 16:07
|
|
Repository: erp/devel/pi
Changeset: d28ede862e61e587bd4b5e9a7335111f0625a8e1
Author: Carlos Aristu <carlos.aristu <at> openbravo.com>
Date: Wed Apr 11 16:07:07 2018 +0200
URL: http://code.openbravo.com/erp/devel/pi/rev/d28ede862e61e587bd4b5e9a7335111f0625a8e1 [^]
related to issue 38319: avoid duplication
---
M src-test/src/org/openbravo/test/views/GCSequenceNumberTests.java
M src-test/src/org/openbravo/test/views/SortingFilteringGridConfiguration.java
M src-test/src/org/openbravo/test/views/ViewGenerationWithDifferentConfigLevelTest.java
A src-test/src/org/openbravo/test/views/GridConfigurationTest.java
---
|
|
|
|
Code reviewed + tested OK. |
|
|
|
|