Skip to content

Commit

Permalink
Merge branch '4.2.x' into 5.0.x
Browse files Browse the repository at this point in the history
* 4.2.x:
  Remove obsolete PHP version check (#6497)
  • Loading branch information
derrabus committed Aug 15, 2024
2 parents ef2f9b6 + e635524 commit 6018553
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/Functional/TransactionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
namespace Doctrine\DBAL\Tests\Functional;

use Doctrine\DBAL\Connection;
use Doctrine\DBAL\Driver\PDO;
use Doctrine\DBAL\Exception\ConnectionLost;
use Doctrine\DBAL\Platforms\AbstractMySQLPlatform;
use Doctrine\DBAL\Tests\FunctionalTestCase;
Expand All @@ -16,7 +15,6 @@
use function sleep;

use const E_WARNING;
use const PHP_VERSION_ID;

class TransactionTest extends FunctionalTestCase
{
Expand Down Expand Up @@ -45,10 +43,6 @@ public function testRollbackFailure(): void

private function expectConnectionLoss(callable $scenario): void
{
if (PHP_VERSION_ID < 70413 && $this->connection->getDriver() instanceof PDO\MySQL\Driver) {
self::markTestSkipped('See https://bugs.php.net/bug.php?id=66528.');
}

$this->connection->executeStatement('SET SESSION wait_timeout=1');
$this->connection->beginTransaction();

Expand Down

0 comments on commit 6018553

Please sign in to comment.