Problem/Motivation
We duplicated some logic from the Kernel test TaxonomyTermFilterDepthTest to the Functional test to prevent random test failures here: #3229665: \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermFilterDepthTest can randomly fail due to views sorts, but also found out it could be (micro-)optimized here #3229665-5: \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermFilterDepthTest can randomly fail due to views sorts
Steps to reproduce
Proposed resolution
Apply micro-optimisation on both Kernel and Functional Test
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Comment | File | Size | Author |
---|---|---|---|
#7 | 3229686-7.patch | 1.74 KB | dww |
Issue fork drupal-3229686
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
SpokjeComment #3
SpokjePostponed on #3229665: \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermFilterDepthTest can randomly fail due to views sorts
Comment #4
dwwThanks for opening this. Definitely minor. ;)
Comment #5
SpokjeThere will be a day that I'll open a new issue without doing 42 edits afterwards, also that day the universe will be replaced by something even more bizarre and inexplicable.
Comment #6
dww#3229665: \Drupal\Tests\taxonomy\Functional\Views\TaxonomyTermFilterDepthTest can randomly fail due to views sorts is now in, this no longer needs to be blocked.
Comment #7
dwwComment #8
Spokje- Green TestBot
- Code consistently changed
- Micro-optimisation is going to be big in 2021 ;)
RTBC for me
Comment #9
alexpottCommitted 4894881 and pushed to 9.3.x. Thanks!
Today I read...
In our code base. I think micro-optimisations have always been a big hit!
Comment #11
SpokjeYou
++$knowledge
every day...Comment #12
dwwThanks!