- Issue created by @catch
- π¬π§United Kingdom catch
First pass - five of the test methods don't need the extra entity_test_update installed in __construct(), so that's an easy start.
- Merge request !10507Initial split - move out test methods that don't need the extra entity types. β (Open) created by catch
- π¬π§United Kingdom catch
- πΊπΈUnited States smustgrave
Block Cache (Drupal\Tests\block\Functional\BlockCache) β Cache per role β Cache permissions β No cache
Seems to be un-related
- Status changed to Needs review
30 days ago 4:46pm 30 April 2025 - π¬π§United Kingdom catch
This wasn't really rebasable because too much had changed in moved code, so redid the same changes from scratch.
Having done this all over again, still feel about the same as #4 - we could split it into bundle/base fields to have a more even split, but that wouldn't reduce the overall work, whereas this does slightly reduce the actual work done in the test.
- π¬π§United Kingdom catch
https://git.drupalcode.org/issue/drupal-3492944/-/jobs/5115788 this job has both tests and they're very far under the longest tests now, so the split is enough to solve the problem.
- πΊπΈUnited States smustgrave
Going purely on the move, didn't look at the actual tests for typehints or any of that as I understand the scope to be just that a move.
Not super awesome to add so much to the baseline but probably not a blocker.
- π¬π§United Kingdom catch
The extra baseline comes from the trait, I don't know a way around that.
-
alexpott β
committed 699effc4 on 11.2.x
Issue #3492944 by catch: Split up EntityDefinitionUpdateTest (cherry...
-
alexpott β
committed 699effc4 on 11.2.x
-
alexpott β
committed 6d6f909d on 11.x
Issue #3492944 by catch: Split up EntityDefinitionUpdateTest
-
alexpott β
committed 6d6f909d on 11.x
- π¬π§United Kingdom alexpott πͺπΊπ
There are 282 test methods in
grep -R "public function test" core/tests/Drupal/KernelTests/Core/Entity | wc -l
before and after applying the patch and the lest change was 4 weeks ago which is before #7 so I think we are good here.The only way to fix the baseline stuff is to add return typehints to all the test traits - which would be a great thing to do imo.
Committed and pushed 6d6f909d46e to 11.x and 699effc461f to 11.2.x. Thanks!
Automatically closed - issue fixed for 2 weeks with no activity.