Problem/Motivation

I encountered what looks like a random test failure on #3004300: EntityViewsData fails to set 'entity revision' in the table data for an entity's revision table:

https://git.drupalcode.org/issue/drupal-3004300/-/jobs/614107

    Drupal\Tests\mysql\Kernel\mysql\ConnectionUnitTest::testOpenQueryPrefetchClose
    Failed asserting that an array does not have the key 1790.
    
    /builds/issue/drupal-3004300/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:121
    /builds/issue/drupal-3004300/vendor/phpunit/phpunit/src/Framework/Constraint/Constraint.php:55
    /builds/issue/drupal-3004300/core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php:93
    /builds/issue/drupal-3004300/core/tests/Drupal/KernelTests/Core/Database/DriverSpecificConnectionUnitTestBase.php:140
    /builds/issue/drupal-3004300/vendor/phpunit/phpunit/src/Framework/TestResult.php:728

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

Comments

jonathanshaw created an issue. See original summary.

jonathanshaw’s picture

Title: mysql\ConnectionUnitTest::testOpenQueryPrefetchClose » Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose
quietone’s picture

Title: Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose » [random test failure] Fail in mysql\ConnectionUnitTest::testOpenQueryPrefetchClose
quietone’s picture

mstrelan’s picture

Status: Active » Closed (duplicate)

Found the same problem in #3513618: [random test failure] ConnectionUnitTest::testOpenQueryClose and the fix there should fix this too, so closing this as a duplicate. Sorry, didn't find this issue yesterday.