extdn / github-actions-m2

137 stars 46 forks source link

Quick Integration tests fail for magento 2.4.6 as it uses Opensearch by default #89

Closed waleedbasit closed 1 year ago

waleedbasit commented 1 year ago

To avoid quick integration test failures in Magento 2.4.6, it's advisable to set the search engine to ES7 by including a tag during installation. OpenSearch, the default search engine in Magento 2.4.6, can cause this issue. If you wish to replicate the problem, create an integration test for Magento 2.4.6 using PHP 8.1 and commit it to GitHub. This will verify the failed quick integration test.

sprankhub commented 1 year ago

We need a conditional approach like here: https://github.com/extdn/github-actions-m2/pull/91

jissereitsma commented 1 year ago

Let's merge first - because this is (as far as I see) not going to break things. However, with OpenSearch, after changing the search-engine you also need to specifiy the host and port differently. Anway, that's a separate issue which needs to be solved separately.