From 6b2cb591538ac7cf7c1d768d3f9dea4f56bdb75a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Vo=C5=99=C3=AD=C5=A1ek?= Date: Wed, 4 Dec 2024 17:11:51 +0100 Subject: [PATCH] no mysql --- tests/mutex/MutexConcurrencyTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/mutex/MutexConcurrencyTest.php b/tests/mutex/MutexConcurrencyTest.php index 2eb663b8..cd0fc599 100644 --- a/tests/mutex/MutexConcurrencyTest.php +++ b/tests/mutex/MutexConcurrencyTest.php @@ -180,12 +180,12 @@ static function ($timeout = 3) use ($dsn, $user, $password) { ]; }; - if (getenv('MYSQL_DSN')) { + /* if (getenv('MYSQL_DSN')) { $dsn = getenv('MYSQL_DSN'); $user = getenv('MYSQL_USER'); $password = getenv('MYSQL_PASSWORD'); $addPDO($dsn, $user, $password, 'mysql'); - } + } */ if (getenv('PGSQL_DSN')) { $dsn = getenv('PGSQL_DSN'); @@ -322,14 +322,14 @@ static function (string $uri): \Redis { } } - if (getenv('MYSQL_DSN')) { + /* if (getenv('MYSQL_DSN')) { $cases['MySQLMutex'] = [static function ($timeout = 3): Mutex { $pdo = new \PDO(getenv('MYSQL_DSN'), getenv('MYSQL_USER'), getenv('MYSQL_USER')); $pdo->setAttribute(\PDO::ATTR_ERRMODE, \PDO::ERRMODE_EXCEPTION); return new MySQLMutex($pdo, 'test', $timeout); }]; - } + } */ if (getenv('PGSQL_DSN')) { $cases['PgAdvisoryLockMutex'] = [static function (): Mutex {