Download & Extend

Tests for mongodb_watchdog

Project:Mongodb
Version:7.x-1.x-dev
Component:Watchdog
Category:task
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

There should be tests for mongodb_watchdog.

[17:47] dereine: i am not sure whether we have tests for the dblog admin screen , if not then the work is instnatly reusable as a core test. if there is such a core test then that just needs to be adjusted

Comments

#1

Status:active» needs work

Totally broken. Sadly currently together with parts of http://drupal.org/node/660460

AttachmentSizeStatusTest resultOperations
mongodb_watchdog-tests.patch21.36 KBIgnored: Check issue status.NoneNone

#2

To test this patch, apply first http://drupal.org/files/issues/mongodb_watchdog-capped.patch

Down to:

84 passes, 9 fails, 0 exceptions, and 25 debug messages
AttachmentSizeStatusTest resultOperations
mongodb_watchdog-tests.patch26.64 KBIgnored: Check issue status.NoneNone

#3

Status:needs work» needs review

Tests are passing now, missing "feature" of the watchdog admin ui convertion.

TODO: Convert admin/reports/(not_found|access_denied) to mongodb_watchdog

AttachmentSizeStatusTest resultOperations
mongodb_watchdog-tests.patch27.65 KBIgnored: Check issue status.NoneNone

#4

This patch is sure togehter with the capped stuff.

#5

Component:Code» Watchdog

Reassigning.

#6

I think I committed this :) I need to run 'em to see whether they pass :p commit early, commit often :D

#7

Status:needs review» needs work

No longer applies (CVS format ?)

#8

The committed versions do not run currently.

The D6/D7 patches included in #1355808: Implement watchdog filter-on-insert in mongodb_watchdog include working tests for the new filter-on-insert feature.

#9

Improvement added: tests no longer choke on qa.drupal.org: they are bypassed when no connection is available, so qa can still check well-formedness but not waste resources on tests that can only fail.

#10

@chx - did you commit this?

@fgm - Can we close this issue?