Enable running the same test multiple times on gitlab ci for random test failures

Created on 12 October 2023, 8 months ago
Updated 31 October 2023, 8 months ago

Problem/Motivation

https://git.drupalcode.org/project/drupal/-/jobs/164471

Drupal\Tests\ckeditor5\FunctionalJavascript\MediaLinkabilityTest::testLinkability with data set "restricted" (false)
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'true'
+'false'

/builds/project/drupal/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122
/builds/project/drupal/vendor/phpunit/phpunit/src/Framework/Constraint/IsIdentical.php:79
/builds/project/drupal/core/modules/ckeditor5/tests/src/FunctionalJavascript/MediaLinkabilityTest.php:195
/builds/project/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

This only fails on gitlab CI (see issue comments), so repurposing this issue to enable running the same test multiple times on gitlabci, in a similar way to how we do it on DrupalCI.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

📌 Task
Status

Fixed

Version

10.2

Component
PHPUnit 

Last updated about 1 hour ago

Created by

🇬🇧United Kingdom catch

Live updates comments and jobs are added and updated live.
  • JavaScript

    Affects the content, performance, or handling of Javascript.

Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024