[traceback] test_monitor_view failing on jenkins

RESOLVED FIXED

Status

Input
General
P1
normal
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: willkg, Assigned: willkg)

Tracking

Details

(Whiteboard: u=dev c=testing p=1)

Traceback (most recent call last):
  File "/var/lib/jenkins/jobs/fjord/workspace/vendor/lib/python/django/utils/unittest/case.py", line 333, in run
    testMethod()
  File "/var/lib/jenkins/jobs/fjord/workspace/fjord/base/tests/test_views.py", line 40, in test_monitor_view
    resp.status_code, 200, repr(errors)))
  File "/var/lib/jenkins/jobs/fjord/workspace/vendor/lib/python/nose/tools.py", line 31, in eq_
    assert a == b, msg or "%r != %r" % (a, b)
AssertionError: 500 != 200 (['          <h2>Errors</h2>', '                Error: statii: [True, False, True]', '                Error: rabbitmq: error(111, &#39;Connection refused&#39;) [Errno 111] Connection refused'])


Need to mock establish_connection for this test because rabbitmq isn't running on Jenkins.
Making it a 1 pointer--it's an easy fix.
Priority: -- → P1
Whiteboard: u=dev c=testing p=1
In a pull request: https://github.com/mozilla/fjord/pull/32
Assignee: nobody → willkg
Landed in master in https://github.com/mozilla/fjord/commit/07d977923762670c488905200bd4f1e674a050af
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.