opbeat_python icon indicating copy to clipboard operation
opbeat_python copied to clipboard

Disabled module falsely claims that it is sending messages during tests

Open martey opened this issue 9 years ago • 3 comments

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:

PID 19301: Opbeat is attempting to send 1 pending messages
Waiting up to 10 seconds, press Ctrl-C to quit
PID 19301: done, took 0.12 seconds to complete

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.

martey avatar Jun 09 '15 05:06 martey