Skip to content

Commit f6070cb

Browse files
Shradha JainShradha Jain
authored andcommitted
AC-6762:: Random Integration B2B failures
1 parent 46fe3fe commit f6070cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/integration/framework/Magento/TestFramework/MessageQueue/PublisherConsumerController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,9 @@ public function waitForAsynchronousResult(callable $condition, $params)
204204
{
205205
$i = 0;
206206
do {
207-
sleep(1);
207+
sleep(3);
208208
$assertion = call_user_func_array($condition, $params);
209-
} while (!$assertion && ($i++ < 180));
209+
} while (!$assertion && ($i++ < 10));
210210

211211
if (!$assertion) {
212212
throw new PreconditionFailedException("No asynchronous messages were processed.");

0 commit comments

Comments
 (0)