Skip to content

Commit 85d4948

Browse files
committed
MC-18948: Switch default search engine from MySQL to ElasticSearch
- skip tests with the right ticket - refactor get Current searchEngine, we can't throw exception since class is @api
1 parent d6be698 commit 85d4948

22 files changed

+27
-43
lines changed

app/code/Magento/Bundle/Test/Mftf/Test/AdvanceCatalogSearchBundleByDescriptionMysqlTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Bundle"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Bundle/Test/Mftf/Test/AdvanceCatalogSearchBundleByNameMysqlTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Bundle"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Bundle/Test/Mftf/Test/AdvanceCatalogSearchBundleByPriceMysqlTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Bundle"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Bundle/Test/Mftf/Test/AdvanceCatalogSearchBundleByShortDescriptionMysqlTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Bundle"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Bundle/Test/Mftf/Test/StorefrontAdvanceCatalogSearchBundleBySkuWithHyphenTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Bundle"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontAdvanceCatalogSearchSimpleProductBySkuWithHyphenTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Catalog"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/Catalog/Test/Mftf/Test/StorefrontAdvanceCatalogSearchVirtualProductBySkuWithHyphenTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="Catalog"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<before>

app/code/Magento/CatalogSearch/Setup/Patch/Data/MySQLSearchDeprecationNotification.php renamed to app/code/Magento/CatalogSearch/Setup/Patch/Data/MySQLSearchRemovalNotification.php

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,11 @@
88
namespace Magento\CatalogSearch\Setup\Patch\Data;
99

1010
/**
11-
* Implementation of the notification about MySQL search being deprecated.
11+
* Implementation of the notification about MySQL search being removed.
1212
*
13-
* @deprecated
1413
* @see \Magento\ElasticSearch
1514
*/
16-
class MySQLSearchDeprecationNotification implements \Magento\Framework\Setup\Patch\DataPatchInterface
15+
class MySQLSearchRemovalNotification implements \Magento\Framework\Setup\Patch\DataPatchInterface
1716
{
1817
/**
1918
* @var \Magento\Framework\Search\EngineResolverInterface
@@ -44,8 +43,8 @@ public function apply()
4443
{
4544
if ($this->searchEngineResolver->getCurrentSearchEngine() === 'mysql') {
4645
$message = <<<MESSAGE
47-
Catalog Search is currently configured to use the MySQL engine, which has been deprecated. Consider migrating to one of
48-
the Elasticsearch engines now to ensure there are no service interruptions during your next upgrade.
46+
Catalog Search is currently configured to use the MySQL engine, which has been deprecated and removed. Migrate to one of
47+
the Elasticsearch engines to ensure there are no service interruptions.
4948
MESSAGE;
5049

5150
$this->notifier->addNotice(__('Deprecation Notice'), __($message));

app/code/Magento/CatalogSearch/Test/Mftf/Test/MinimalQueryLengthForCatalogSearchTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<group value="CatalogSearch"/>
2121
<group value="SearchEngineMysql"/>
2222
<skip>
23-
<issueId value="MC-18948"/>
23+
<issueId value="MC-20539"/>
2424
</skip>
2525
</annotations>
2626
<before>

app/code/Magento/CatalogSearch/Test/Mftf/Test/StorefrontAdvancedSearchByPartialNameTest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<group value="mtf_migrated"/>
2020
<group value="SearchEngineMysql"/>
2121
<skip>
22-
<issueId value="MC-18948"/>
22+
<issueId value="MC-20539"/>
2323
</skip>
2424
</annotations>
2525
<actionGroup ref="StorefrontFillFormAdvancedSearchActionGroup" stepKey="search">

0 commit comments

Comments
 (0)