Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
SelectionTest
makes no HTTP requests but is a functional test
Proposed resolution
Convert SelectionTest
into a Kernel test
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Release notes snippet
N/A
Comment | File | Size | Author |
---|---|---|---|
#2 | 3046018-2.patch | 9.26 KB | claudiu.cristea |
Comments
Comment #2
claudiu.cristeaThis patch decreases the locally test run from 25.1 to 2.2 seconds.
Comment #3
LendudeLooks great, no loss of coverage I can see.
Comment #5
Lendude?
Comment #6
claudiu.cristea@Lendude, it was a random failure.
Comment #7
Krzysztof DomańskiI added the issue for random test failure from #4.
#3046697: \Drupal\Tests\views\Kernel\Entity\RowEntityRenderersTest::testRevisionBaseTable() can randomly fail
If test views do not have sorting options, they can return unstable results.
Comment #9
larowlanCommitted 2da5fec and pushed to 8.8.x. Thanks!
c/p as e39882dd45 and pushed to 8.7.x