Skip to content

Commit 356b1af

Browse files
committed
Skip MySQL server-suite lexer test (10+ min under LD_PRELOAD)
1 parent 7729ad5 commit 356b1af

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

.github/workflows/phpunit-tests-turso.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -586,12 +586,14 @@ jobs:
586586
# any <error> or <failure>, the step fails.
587587
run: |
588588
set +e
589-
# WP_SQLite_Driver_Translation_Tests has several cases that hang
590-
# Turso (ALTER TABLE flow, BOOLEAN columns, etc.). Skip the class
591-
# for now and revisit once we know what's hanging at the Turso
592-
# level — its tests are assertion-heavy snapshot comparisons of
593-
# the MySQL → SQLite translation, which don't need a working DB.
594-
skip_regex='^(?!WP_SQLite_Driver_Translation_Tests).+'
589+
# Skipped for this run:
590+
# - WP_SQLite_Driver_Translation_Tests: several cases hang Turso
591+
# (ALTER TABLE flow, BOOLEAN columns, etc.). 57 tests.
592+
# - WP_MySQL_Server_Suite_Lexer_Tests: tokenises a 5.7 MB CSV in
593+
# a single PHP loop; hangs past our 10-minute step budget on
594+
# this runner. Pure PHP (doesn't touch Turso), skipping until
595+
# it can run in its own process.
596+
skip_regex='^(?!WP_SQLite_Driver_Translation_Tests|WP_MySQL_Server_Suite_Lexer_Tests).+'
595597
timeout --kill-after=10 600 \
596598
php ./vendor/bin/phpunit -c ./phpunit.xml.dist \
597599
--debug \

0 commit comments

Comments
 (0)