[random test failure] Bad usleep() call in KeyValueStore\DatabaseStorageTest

Created on 31 October 2023, over 1 year ago

Problem/Motivation

Seen here: https://git.drupalcode.org/project/drupal/-/jobs/255429

 PHPUnit Test failed to complete; Error: PHPUnit 9.6.8 by Sebastian Bergmann
    and contributors.
    
    Testing Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageTest
    ER....                                                              6 / 6
    (100%).
    
    Time: 00:05.467, Memory: 4.00 MB
    
    There was 1 error:
    
    1)
    Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageTest::testConcurrent
    ValueError: usleep(): Argument #1 ($microseconds) must be greater than or
    equal to 0
    
    /builds/project/drupal/core/tests/Drupal/KernelTests/Core/KeyValueStore/DatabaseStorageTest.php:68
    /builds/project/drupal/vendor/phpunit/phpunit/src/Framework/TestResult.php:728
    
    --
    
    There was 1 risky test:
    
    1)
    Drupal\KernelTests\Core\KeyValueStore\DatabaseStorageTest::testConcurrent
    This test did not perform any assertions

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Active

Version

11.0 πŸ”₯

Component
BaseΒ  β†’

Last updated about 5 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom catch

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

Comments & Activities

Production build 0.71.5 2024