Skip to content

Commit d2ecb28

Browse files
committed
MC-19250: The stuck deployment on the Cloud because of consumers
1 parent 313ad3f commit d2ecb28

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dev/tests/integration/testsuite/Magento/Framework/MessageQueue/UseCase/QueueTestCaseAbstract.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,11 @@ public function checkLogsExists($expectedLinesCount)
118118

119119
/**
120120
* Workaround for https://bugs.php.net/bug.php?id=72286
121+
* phpcs:disable Magento2.Functions.StaticFunction
121122
*/
122-
public function tearDownAfterClass()
123+
public static function tearDownAfterClass()
123124
{
125+
// phpcs:enable Magento2.Functions.StaticFunction
124126
if (version_compare(phpversion(), '7') == -1) {
125127
$closeConnection = new \ReflectionMethod(\Magento\Amqp\Model\Config::class, 'closeConnection');
126128
$closeConnection->setAccessible(true);

0 commit comments

Comments
 (0)