Closed (fixed)
Project:
Drupal core
Version:
8.2.x-dev
Component:
simpletest.module
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Sep 2016 at 11:22 UTC
Updated:
11 Oct 2016 at 16:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
alexpottI think we should commit this before 8.2.0 since this is not run-time code and only test code plus it might allow us to fix #2806697: Random fail for AlreadyInstalledException
Comment #3
alexpottComment #4
alexpottComment #5
cilefen commentedWrong now, yes?
Comment #6
cilefen commentedActually, it is a useless comment.
Comment #7
dawehnerIMHO the comment is still valid, just written a bit weird. Well, we don't want to delete the simpletest table, but yeah this is not a problem with this regex at all.
Comment #8
alexpottActually the current function is broken on prefixed sites. Here's a patch that is more reliable. I've tested this on both a prefixed db and a non prefixed db. Unfortunately this method is hard to test using DrupalCI.
Comment #9
klausiTested the patch manually, I can confirm that now any table prefixed with "test" is removed as it should.
Comment #10
klausi"example" twice in the comment, can be fixed on commit.
Comment #11
alexpottComment #14
catchCommitted/pushed to 8.3.x and cherry-picked to 8.2.x. Thanks!