Skip to content

Commit fb3b7ae

Browse files
committed
B2B-2023: [AWS S3] [Integration Tests]: Investigate Test Failures in CatalogImportExport module
1 parent df6755d commit fb3b7ae

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/integration/testsuite/Magento/CatalogImportExport/Model/Import/ProductTestBase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,9 @@ protected function importFile(string $fileName, int $bunchSize = 100): bool
419419

420420
$this->assertTrue($errors->getErrorsCount() === 0);
421421

422-
return $this->_model->importData();
422+
$result = $this->_model->importData();
423+
$source->destruct();
424+
return $result;
423425
}
424426

425427
/**

0 commit comments

Comments
 (0)