Updated: Comment #2

Problem/Motivation

I'm experiencing an issue where the test stops with an error such as this:

Table 'drupal.simpletest281100simpletest' doesn't exist: INSERT
INTO {simpletest} (test_id, test_class, status, message,
message_group, function, line, file) ...

in DrupalTestCase::insertAssert() (line 210 of [...]/modules/simpletest/drupal_web_test_case.php).

Proposed resolution

It appears that the intention of insertAssert() and of line 210 is to insert into the default prefixed simpletest table, not with simpletest's prefix. A very similar situation is handled several lines above in the assert() function.

Remaining tasks

1. The patch is ready for review.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

daven’s picture

Issue summary: View changes
FileSize
883 bytes
Owen Barton’s picture

Status: Active » Needs review
daven’s picture

Issue summary: View changes
FileSize
883 bytes

Improving summary and providing a better patch file name (with the same diff).