Skip to content

Commit 3083997

Browse files
Roman HaninRoman Hanin
authored andcommitted
B2B-1832: Error when reindex Catalog Search index during the snapshot of elasticsearch
- unit test fix
1 parent 9d0c7c5 commit 3083997

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/Elasticsearch/Test/Unit/Model/Adapter/ElasticsearchTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ public function testCleanIndex()
338338
->method('getIndexName')
339339
->willReturnMap([[1, 'product', [1 => null], '_product_1_v0']]);
340340

341-
$this->client->expects($this->any())
341+
$this->client->expects($this->atLeastOnce())
342342
->method('indexExists')
343343
->willReturnMap(
344344
[

0 commit comments

Comments
 (0)