Project:Drupal core
Version:7.x-dev
Component:base system
Category:task
Priority:critical
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

We are testing the error/exception handler in common.test currently. Explicitly referencing line numbers in system_test.module. If any lines above the expected line number are changed, the error handler test fails.

Let's make it pass more often.

This is critical, because it breaks #345118: Performance: Split .module files by moving hooks.

AttachmentSizeStatusTest resultOperations
drupal-error.patch14.59 KBIdleFailed: 11286 passes, 10 fails, 0 exceptionsView details

Comments

#1

AttachmentSizeStatusTest resultOperations
drupal-error.patch14.59 KBIdleFailed: 11286 passes, 10 fails, 0 exceptionsView details

#2

I need help here, because I have no clue why the tests are failing.

#3

Status:needs review» needs work

The last submitted patch failed testing.

#4

Status:needs work» needs review

Looks like callback & function names mismatched in error_test.module, and the module was returning "page not found" instead of actual error information.

re-rolled with matching callback/function names

AttachmentSizeStatusTest resultOperations
drupal-error_1.patch14.48 KBIdleFailed: 11311 passes, 1 fail, 0 exceptionsView details

#5

Dear testbot, please mark as RTBC if the patch comes back clean.

#6

Status:needs review» needs work

The last submitted patch failed testing.

#7

Status:needs work» needs review

Some additional mismatched names in assertions & paths (system_test_* instead of error_test_*), which I missed because I only ran the system tests, not the simpletest tests.

re-rolled.

AttachmentSizeStatusTest resultOperations
drupal-error_2.patch15.92 KBIdlePassed: 11324 passes, 0 fails, 0 exceptionsView details

#8

Status:needs review» reviewed & tested by the community

Yay! Awesome! Thank you, mr.baileys!

#9

Status:reviewed & tested by the community» fixed

Cool. Committed to HEAD!

#10

Status:fixed» closed (fixed)

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