File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
dev/tests/integration/testsuite/Magento
Catalog/Controller/Adminhtml/Product/Action Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ public function testSaveActionChangeVisibility($attributes)
126
126
/** @var ListProduct $listProduct */
127
127
$ listProduct = $ this ->_objectManager ->get (ListProduct::class);
128
128
129
+ sleep (30 ); // timeout to processing queue
129
130
$ this ->publisherConsumerController ->waitForAsynchronousResult (
130
131
function () use ($ repository ) {
131
132
sleep (10 ); // Should be refactored in the scope of MC-22947
Original file line number Diff line number Diff line change @@ -128,7 +128,7 @@ public function testSubmitQuoteAndCancelOrder()
128
128
129
129
// Make sure coupon usages value is incremented then order is placed.
130
130
$ order = $ this ->quoteManagement ->submit ($ quote );
131
- sleep (10 ); // timeout to processing Magento queue
131
+ sleep (30 ); // timeout to processing Magento queue
132
132
$ this ->usage ->loadByCustomerCoupon ($ this ->couponUsage , $ customerId , $ coupon ->getId ());
133
133
$ coupon ->loadByCode ($ couponCode );
134
134
@@ -186,7 +186,7 @@ public function testQuoteSubmitFailure(array $mockObjects)
186
186
try {
187
187
$ quoteManagement ->submit ($ quote );
188
188
} catch (\Exception $ exception ) {
189
- sleep (10 ); // timeout to processing queue
189
+ sleep (30 ); // timeout to processing queue
190
190
$ this ->usage ->loadByCustomerCoupon ($ this ->couponUsage , $ customerId , $ coupon ->getId ());
191
191
$ coupon ->loadByCode ($ couponCode );
192
192
self ::assertEquals (
You can’t perform that action at this time.
0 commit comments