This repository has been archived by the owner on Jun 11, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 39
Disabled module falsely claims that it is sending messages during tests #39
Milestone
Comments
Thanks for the report! This is indeed a problem. In this case, the pending message is from the APM middleware, not an exception. We are looking into introducing a cleaner way to disable Opbeat collecting any data (see #36). As a workaround, you can try removing the APM middleware during tests:
|
Closed
|
I belive this issue is present again with Django 1.11:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Django 1.8.2, Opbeat 2.1.1
I have disabled Opbeat by setting
OPBEAT["APP_ID"] = None
. When I run./manage.py test
, I get the following lines printed out at the end of each run:Based on what I can tell with netstat, Opbeat correctly realizes that it is disabled and does not really attempts to send messages to the intake servers. The messages are still sort of confusing, though.
The text was updated successfully, but these errors were encountered: