Test failure in trunk sync menu tests when looping

Bug #1169312 reported by dobey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-4-2
New
Undecided
Unassigned
Trunk
Fix Released
Undecided
Unassigned

Bug Description

When running the tests in a loop with u1trial --loop N tests/platform/sync_menu/test_linux.py the following error occurs N-1 times:

[FAIL]
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 138, in maybeDeferred
    result = f(*args, **kw)
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_utilspy3.py", line 41, in runWithWarningsSuppressed
    reraise(exc_info[1], exc_info[2])
  File "/usr/lib/python2.7/dist-packages/twisted/internet/_utilspy3.py", line 37, in runWithWarningsSuppressed
    result = f(*a, **kw)
  File "/home/dobey/Projects/canonical/ubuntuone-client/test/tests/platform/sync_menu/test_linux.py", line 450, in test_sync_status_changed
    self.assertNotIn('paused', self.sync_menu.app.data)
  File "/usr/lib/python2.7/dist-packages/twisted/trial/_synctest.py", line 433, in assertNotIn
    % (containee, container))
twisted.trial.unittest.FailTest: 'paused' in {'paused': True, 'connect': ('notify::paused', <bound method UbuntuOneSyncMenuLinux.change_sync_status of <ubuntuone.platform.sync_menu.linux.UbuntuOneSyncMenuLinux object at 0x3ec1c50>>), 'server': <Server object at 0x3ec8190 (DbusmenuServer at 0x44e0120)>}

tests.platform.sync_menu.test_linux.SyncMenuTestCase.test_sync_status_changed

Tags: u1-notrack

Related branches

Dave Morley (davmor2)
tags: added: u1-notrack
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.