Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 294476

Random test fail in Drupal\Tests\Component\Utility\RandomTest::testRandomMachineNamesUniqueness

$
0
0

Problem/Motivation

Test was added by #2972573: randomMachineName() should conform to processMachineName() pattern.


Drupal\Tests\Component\Utility\RandomTest
exception: [Other] Line 0 of sites/default/files/simpletest/phpunit-732.xml:
PHPUnit Test failed to complete; Error: PHPUnit 9.6.8 by Sebastian Bergmann and contributors.

Testing Drupal\Tests\Component\Utility\RandomTest
......E.....                                                      12 / 12 (100%)

Time: 00:00.028, Memory: 4.00 MB

There was 1 error:

1) Drupal\Tests\Component\Utility\RandomTest::testRandomMachineNamesUniqueness
RuntimeException: Unable to generate a unique random machine name

/var/www/html/core/lib/Drupal/Component/Utility/Random.php:169
/var/www/html/core/tests/Drupal/Tests/Component/Utility/RandomTest.php:127
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
/var/www/html/vendor/phpunit/phpunit/src/Framework/TestSuite.php:684
/var/www/html/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:651
/var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:144
/var/www/html/vendor/phpunit/phpunit/src/TextUI/Command.php:97

https://www.drupal.org/pift-ci-job/2723487

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet


Viewing all articles
Browse latest Browse all 294476

Trending Articles