4udak / pyftpdlib

Automatically exported from code.google.com/p/pyftpdlib
Other
1 stars 1 forks source link

test_on_incomplete_file_received fails in -1.3.0. #292

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. run testsuite
2. python test/test_ftpd.py
3. Use py2.7 py3.3 py3.4

What is the expected output?
pass all

What do you see instead?
FAILED (failures=1)

What version of pyftpdlib are you using? 
-1.3.0
On what operating system? Which Python version?
Use py2.7 py3.3 py3.4 pypy-2.2.1

Please provide any additional information below.

======================================================================
FAIL: test_on_incomplete_file_received (__main__.TestCallbacks)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "test/test_ftpd.py", line 2693, in test_on_incomplete_file_received
    self.assertRaises(ftplib.error_temp, self.client.getresp)  # 426
AssertionError: error_temp not raised

----------------------------------------------------------------------
Ran 153 tests in 6.220s

FAILED (failures=1)

Do you require anything further?

Original issue reported on code.google.com by del...@iinet.com.au on 17 May 2014 at 6:40

GoogleCodeExporter commented 9 years ago
That is one of those tests which are failing due to timing/synchronization 
issues between the test server (which is thread-based) and the client.
That means it's a test issue and pyftpdlib is fine.
I applied some enhancements in the meantime (past 1.3.0) which are supposed to 
improve the situation so please try latest SVN version.

Original comment by g.rodola on 17 May 2014 at 10:04