Opened 8 years ago

Last modified 7 years ago

#3061 new bug

WebAPITestCase.test_add_host failing intermittently on travis

Reported by: Calum Owned by:
Priority: minor Milestone: 2.x
Component: Web UI Version: develop
Keywords: Cc:

Description

https://travis-ci.org/deluge-torrent/deluge/jobs/242764182

[FAIL]
Traceback (most recent call last):
  File "/home/travis/build/deluge-torrent/deluge/deluge/tests/test_web_api.py", line 104, in test_add_host
    self.assertEqual(self.deluge_web.web_api._get_host(conn[0]), conn[0:4])
  File "/home/travis/build/deluge-torrent/deluge/.tox/trial/local/lib/python2.7/site-packages/twisted/trial/_synctest.py", line 425, in assertEqual
    super(_Assertions, self).assertEqual(first, second, msg)
  File "/usr/lib/python2.7/unittest/case.py", line 515, in assertEqual
    assertion_func(first, second, msg=msg)
  File "/usr/lib/python2.7/unittest/case.py", line 744, in assertListEqual
    self.assertSequenceEqual(list1, list2, msg, seq_type=list)
  File "/usr/lib/python2.7/unittest/case.py", line 726, in assertSequenceEqual
    self.fail(msg)
twisted.trial.unittest.FailTest: Lists differ: ['98f82cf6b9d85c85982a447a635a... != ['98f82cf6b9d85c85982a447a635a...
First differing element 1:
127.0.0.1
10.0.0.1
- ['98f82cf6b9d85c85982a447a635a9d106a0ea5a4',
+ ['98f82cf6b9d85c85982a447a635a9d106a0ea5a4', u'10.0.0.1', 0, u'user123']
?                                             ++++++++++++++++++++++++++++
-  u'127.0.0.1',
-  58900,
-  u'localclient']
deluge.tests.test_web_api.WebAPITestCase.test_add_host
-------------------------------------------------------------------------------

Change History (1)

comment:1 by Calum, 7 years ago

Milestone: 2.02.x
Note: See TracTickets for help on using tickets.