I am seeing table cleanup even when thats not requested as per admin/build/testing/settings. can anyone else get the tables to stick around?

CommentFileSizeAuthor
#3 588084-leave-prefixed.patch2.95 KBboombatower

Comments

boombatower’s picture

Title: Always clears tables » Provide a mechanism for leaving prefix tables
Category: bug » feature
Status: Active » Postponed (maintainer needs more info)

We had this discussion in core. The variable is not intended to leave the simpletest3948... tables...it leaves the "results" as in those in the simpletest table. The idea being that modules like PIFR or other integrations may want to do further analysis or work with the data.

If we want to provide another variable to leave tables...or change the meaning of this one that is a possibility, but not the purpose of the variable.

Personally I never have a need to look at the tables...at least not something that can't be figured out with debug() or verbose and dumbing things out. If you need to though: inside DrupalWebTestCase::tearDown() comment out line 1256

db_drop_table($ret, $name);

and the tables will be there for you to inspect.

boombatower’s picture

Version: 6.x-2.x-dev » 7.x-2.x-dev
Status: Postponed (maintainer needs more info) » Active

Lets add this, why not right?

boombatower’s picture

Assigned: Unassigned » boombatower
Status: Active » Needs review
StatusFileSize
new2.95 KB
boombatower’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.