Problem/Motivation
This is part of reducing waste outlined in #3580398: Consider not running core GitLab pipelines on_push
The part is skipping known flakey tests to avoid having to re-run so many pipelines.
Steps to reproduce
Proposed resolution
Use the information at #2829040: [meta] Known intermittent, random, and environment-specific test failures to add skip the currently failing tests.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3600653
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
quietone commentedThere were two test failures on PHP 8.5. There were others on PHP8.6 which I did not look at.
1) MariaDB (via PDO): [8.5-ubuntu, mariadb-10.11]
Drupal\FunctionalTests\Bootstrap\UncaughtExceptionTest::testLostDatabaseConnection - 'Failed 3 times in the last 14 days"
This was supposed to have been fixed in #3521851: [random test failure] Drupal\FunctionalTests\Bootstrap\UncaughtExceptionTest::testLostDatabaseConnection
2) SQLite: [8.5-ubuntu, sqlite-3]
Nightwatch - core/modules/navigation/tests/src/Nightwatch/Tests/expandCollapseTest.js.
Comment #4
catchhttps://git.drupalcode.org/project/drupal/-/jobs/10290130 is
UncaughtExceptionTestwhich I think I've seen before.Comment #5
quietone commentedThe sqlite error can be seen at https://git.drupalcode.org/project/drupal/-/jobs/10289992#L2702
Is there a way to skip a nightwatch test?
is there a way to skip UncaughtExceptionTest::testLostDatabaseConnection for MariaDb?
Comment #6
catchWe could check the database driver in the method and return early I would think.