Broken tests regarding backend.py

Bug #816049 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Storm
Fix Released
Low
Sidnei da Silva

Bug Description

Got this while running the test suite in storm trunk revision 394:
======================================================================
ERROR: test_disconnect (tests.django.backend.MySQLDjangoBackendDisconnectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/canonical/source/storm/staging/tests/django/backend.py", line 154, in setUp
    settings.configure(STORM_STORES={})
NameError: global name 'settings' is not defined

======================================================================
ERROR: test_disconnect (tests.django.backend.PostgresDjangoBackendDisconnectionTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/andreas/canonical/source/storm/staging/tests/django/backend.py", line 154, in setUp
    settings.configure(STORM_STORES={})
NameError: global name 'settings' is not defined

----------------------------------------------------------------------
Ran 2469 tests in 575.019s

FAILED (errors=2)
Traceback (most recent call last):
  File "/usr/lib/python2.6/SocketServer.py", line 558, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python2.6/SocketServer.py", line 320, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/andreas/canonical/source/storm/staging/tests/databases/proxy.py", line 39, in __init__
    self, request, client_address, server)
  File "/usr/lib/python2.6/SocketServer.py", line 615, in __init__
    self.handle()
  File "/home/andreas/canonical/source/storm/staging/tests/databases/proxy.py", line 62, in handle
    chunk = os.read(dst.fileno(), 1024)
OSError: [Errno 104] Connection reset by peer
----------------------------------------
Exception happened during processing of request from ('127.0.0.1', 57560)
----------------------------------------
make: *** [check] Error 1

Sidnei da Silva (sidnei)
Changed in storm:
assignee: nobody → Sidnei da Silva (sidnei)
status: New → Fix Committed
importance: Undecided → Low
milestone: none → 0.19
Barry Warsaw (barry)
Changed in storm:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.