Openbravo Issue Tracking System - Retail Modules | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0038002 | Retail Modules | Tests Stabilization | public | 2018-02-26 16:27 | 2018-02-26 17:09 |
| Reporter | alekosmp86 | ||||
| Assigned To | alekosmp86 | ||||
| Priority | normal | Severity | minor | Reproducibility | random |
| Status | new | Resolution | open | ||
| Platform | OS | 5 | OS Version | ||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Merge Request Status | |||||
| Review Assigned To | |||||
| OBNetwork customer | No | ||||
| Support ticket | |||||
| Regression level | |||||
| Regression date | |||||
| Regression introduced in release | |||||
| Regression introduced by commit | |||||
| Triggers an Emergency Pack | No | ||||
| Summary | 0038002: CreditNoteFromCancelAndReplace | ||||
| Description | Test: org.openbravo.test.mobile.retail.extmodules.selenium.tests.creditnote.CreditNoteFromCancelAndReplace Error: The database didn't return the expected data Query has timed out (10 * 1000 = 10000) Query: "select gci.gcnv_giftcard_inst_id as gcId, gci.value, gci.amount as initBal, gci.currentamount as currBal, gci.status, gci.fin_payment_id paymentId, gci.type, bp.name as bPartner from gcnv_giftcard_inst gci join c_bpartner bp on bp.c_bpartner_id=gci.c_bpartner_id where gci.c_order_id = '523D04DD9E4B6D022AA46780423651D0' " | ||||
| Steps To Reproduce | - Run test in CreditNoteFromCancelAndReplace.java - If the queries in the test are executed before completing the synchronization, the test will fail. | ||||
| Proposed Solution | The error is probably caused because the backend is queried before synchronizing it with the WebPOS. We should force a synchronization between the POS and the backend before executing any query. | ||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2018-02-26 16:27 | alekosmp86 | New Issue | |||
| 2018-02-26 16:27 | alekosmp86 | Assigned To | => Retail | ||
| 2018-02-26 16:27 | alekosmp86 | OBNetwork customer | => No | ||
| 2018-02-26 16:27 | alekosmp86 | Triggers an Emergency Pack | => No | ||
| 2018-02-26 16:45 | alekosmp86 | Assigned To | Retail => alekosmp86 | ||
| 2018-02-26 17:09 | hgbot | Checkin | |||
| 2018-02-26 17:09 | hgbot | Note Added: 0102836 | |||
| Notes | |||||
|
|
|||||
|
|
||||