Fix failing tests in desktopcouch

Bug #405612 reported by Elliot Murphy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
desktopcouch
Fix Released
High
Chad Miller

Bug Description

Running 'trial desktopcouch/' gives a few failures. These should be fixed, and are likely left over from when the code was split out for publishing.

Related branches

Revision history for this message
Elliot Murphy (statik) wrote :

I'm fixing some of the spurious failures now, these two remain:
===============================================================================
[FAIL]: desktopcouch.tests.test_local_files.TestLocalFiles.test_file_locations

Traceback (most recent call last):
  File "/usr/lib/python2.6/dist-packages/testtools/testcase.py", line 175, in run
    testMethod()
  File "/home/emurphy/canonical/ubuntuone/shared/desktopcouch/trunk/desktopcouch/tests/test_local_files.py", line 23, in test_file_locations
    self.assertEqual(flatpidfile, desktopcouch.local_files.FILE_PID)
exceptions.AssertionError: '/home/emurphy/canonical/ubuntuone/shared/tmp/desktop-couchdb.pid' != '/home/emurphy/.cache/desktop-couch/desktop-couchdb.pid'
===============================================================================
[ERROR]: desktopcouch.records.tests.test_field_registry.TestFieldMapping.test_mergeable_list_field_mapping

Traceback (most recent call last):
Failure: twisted.trial.util.DirtyReactorAggregateError: Reactor was unclean.
DelayedCalls: (set twisted.internet.base.DelayedCall.debug = True to debug)
<DelayedCall 178046060 [0.991724014282s] called=0 cancelled=0 LoopingCall<1.0>(exit_on_success, *(), **{})()>
<DelayedCall 178045868 [2.14146709442s] called=0 cancelled=0 reconnector()>
<DelayedCall 178031340 [28.9916679859s] called=0 cancelled=0 exit_on_timeout()>
-------------------------------------------------------------------------------

Changed in desktopcouch:
assignee: nobody → Chad Miller (cmiller)
importance: Undecided → High
milestone: none → w15
status: New → Triaged
Changed in desktopcouch:
milestone: w15 → w17-karmic-alpha4
Changed in desktopcouch:
milestone: w17-karmic-alpha4 → w19-karmic-alpha5
Chad Miller (cmiller)
tags: added: cmiller-k-alpha6
Chad Miller (cmiller)
Changed in desktopcouch:
milestone: w19-karmic-alpha5 → w21-karmic-alpha6
Chad Miller (cmiller)
Changed in desktopcouch:
status: Triaged → Fix Committed
Chad Miller (cmiller)
Changed in desktopcouch:
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.