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)
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
Original file line number Diff line number Diff 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 (
You can’t perform that action at this time.
0 commit comments