Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
simpletest.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 May 2012 at 04:40 UTC
Updated:
18 May 2012 at 09:59 UTC
Jump to comment: Most recent file
Comments
Comment #1
David_Rothstein commentedActually, this was broken in D8 for a long time, but it seems like it might have recently been fixed as part of a reorganization of the setUp() code. (I haven't verified that, but that's what it looks like to me from reading the new D8 code.)
So, here's an (untested) patch for D7 based on the idea above.
Comment #2
sun#1541958-15: Split setUp() into specific sub-methods refactored setUp() into individual methods.
The D8-only #1404198: Separate database cache clearing from static cache clearing and data structure rebuilding shortly after discovered the (existing) strange order of operations (not changed by the split patch), and precisely for this reason, my intention was to keep all changes bundled together in above issue + patches, but @Dries committed the necessary fix as part of that other patch.
In turn, what we actually want to do is to perform the full backport of changes in #1541958: Split setUp() into specific sub-methods