Skip to content

Commit 8888cb2

Browse files
committed
skip test
1 parent a9b0139 commit 8888cb2

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

tests/Persistence/Sql/WithDb/SelectTest.php

+8
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,14 @@ public function testUtf8mb4Support(): void
343343
$tableAlias = '';
344344
}
345345

346+
// remove once https://bugs.mysql.com/bug.php?id=109699 is fixed
347+
if ($this->getDatabasePlatform() instanceof MySQLPlatform) {
348+
$serverVersion = $this->getConnection()->getConnection()->getWrappedConnection()->getServerVersion(); // @phpstan-ignore-line
349+
if ($serverVersion === '8.0.32') {
350+
static::markTestIncomplete('MySQL Server 8.0.32 optimizer is broken');
351+
}
352+
}
353+
346354
static::assertSame(
347355
[$columnAlias => 'žlutý_😀'],
348356
$this->q(

tests/ReferenceSqlTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public function testBasic2(): void
114114
if ($this->getDatabasePlatform() instanceof MySQLPlatform) {
115115
$serverVersion = $this->getConnection()->getConnection()->getWrappedConnection()->getServerVersion(); // @phpstan-ignore-line
116116
if (preg_match('~^5\.6~', $serverVersion)) {
117-
static::markTestIncomplete('TODO MySQL: Unique key exceed max key (767 bytes) length');
117+
static::markTestIncomplete('TODO MySQL 5.6: Unique key exceed max key (767 bytes) length');
118118
}
119119
}
120120
$this->markTestIncompleteWhenCreateUniqueIndexIsNotSupportedByPlatform();

0 commit comments

Comments
 (0)