Skip to content

Commit 5908652

Browse files
committed
AC-8645::Integration test failures
1 parent 83b7f30 commit 5908652

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

dev/tests/integration/testsuite/Magento/Catalog/Controller/Adminhtml/Product/Action/AttributeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ public function testSaveActionChangeVisibility($attributes)
126126
/** @var ListProduct $listProduct */
127127
$listProduct = $this->_objectManager->get(ListProduct::class);
128128

129+
sleep(30); // timeout to processing queue
129130
$this->publisherConsumerController->waitForAsynchronousResult(
130131
function () use ($repository) {
131132
sleep(10); // Should be refactored in the scope of MC-22947

dev/tests/integration/testsuite/Magento/SalesRule/Plugin/CouponUsagesTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public function testSubmitQuoteAndCancelOrder()
128128

129129
// Make sure coupon usages value is incremented then order is placed.
130130
$order = $this->quoteManagement->submit($quote);
131-
sleep(10); // timeout to processing Magento queue
131+
sleep(30); // timeout to processing Magento queue
132132
$this->usage->loadByCustomerCoupon($this->couponUsage, $customerId, $coupon->getId());
133133
$coupon->loadByCode($couponCode);
134134

@@ -186,7 +186,7 @@ public function testQuoteSubmitFailure(array $mockObjects)
186186
try {
187187
$quoteManagement->submit($quote);
188188
} catch (\Exception $exception) {
189-
sleep(10); // timeout to processing queue
189+
sleep(30); // timeout to processing queue
190190
$this->usage->loadByCustomerCoupon($this->couponUsage, $customerId, $coupon->getId());
191191
$coupon->loadByCode($couponCode);
192192
self::assertEquals(

0 commit comments

Comments
 (0)