[random test failure] Random failure in PathWorkspacesTest

Created on 19 July 2023, almost 2 years ago
Updated 21 July 2023, almost 2 years ago

Problem/Motivation

Random fail in PathWorkspacesTest:

PHPUnit 9.6.8 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\workspaces\Functional\PathWorkspacesTest
F..                                                                 3 / 3 (100%)

Time: 00:42.107, Memory: 4.00 MB

There was 1 failure:

1) Drupal\Tests\workspaces\Functional\PathWorkspacesTest::testPathAliases
Failed asserting that a boolean is not empty.

/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:122
/var/www/html/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55
/var/www/html/core/modules/workspaces/tests/src/Functional/PathWorkspacesTest.php:109
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

FAILURES!
Tests: 3, Assertions: 126, Failures: 1.

Only affects 11.x but across PHP versions and database drivers.

https://www.drupal.org/pift-ci-job/2719595
https://www.drupal.org/pift-ci-job/2718910
https://www.drupal.org/pift-ci-job/2719593
https://www.drupal.org/pift-ci-job/2719016
https://www.drupal.org/pift-ci-job/2719804

Discussed briefly in Slack, 🐛 Post-response task running (destructable services) are actually blocking; add test coverage and warn for common misconfiguration Fixed is possibly a suspect issue.

Steps to reproduce

?

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

11.0 🔥

Component
Workspaces 

Last updated 23 days ago

No maintainer
Created by

🇬🇧United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024