andreikop / enki

A text editor for programmers
http://enki-editor.org
GNU General Public License v2.0
161 stars 38 forks source link

Unit test failure #218

Closed bjones1 closed 10 years ago

bjones1 commented 10 years ago

On commit b82f3601c89a405aa284a574b870bf7a93bb2de9, I get the following failure:

======================================================================
FAIL: test_2 (test_plugins.test_navigator.Settings)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "C:\Users\bjones\Documents\enki_all\enki\tests\base.py", line 112, in wra
pper
    return func(*args, **kwargs)
  File "C:\Users\bjones\Documents\enki_all\enki\tests\base.py", line 84, in wrap
per
    raise ex[0]
AssertionError: Lists differ: ['initialize', '<=>', 'to_s'] != ['<=>', 'initiali
ze', 'to_s']

First differing element 0:
initialize
<=>

- ['initialize', '<=>', 'to_s']
?                -------

+ ['<=>', 'initialize', 'to_s']
?  +++++++
andreikop commented 10 years ago

Probably was caused by too little hardcoded timeout. I doubled the timeout values and added better sleeping mechanism to speed up the tests. Check please.