aio-libs / aio-libs/aiozmq

4 tests are failing

Aberta
#42 6 comentários 0 reações 0 responsáveis Ver no GitHub
bug
Linguagem predominante
Python
Estrelas
431
Forks
57
Métricas de merge de PRs
Nenhum PR com merge em 30d

Descrição

4 tests are failing for me with aiozmq revision 7ab57b78a532cee4b9cd93eadf25d7b51952e82c, Python 3.4.1 on Windows 7. Is this expected?

I am investigating RPC calls timing out (although my RPC methods finish on time), so I'm wondering if the failing tests may be relevant.

```
Q:\Users\arvek\Repositories\accc-gui\aiozmq [master]> python .\runtests.py
Skipping 'events_test': don't check
..ssssss......................................................................................................................F............................F.......s..........s......s........
........................................................F..ss................................F..ss............................
======================================================================
FAIL: test_server_close (rpc_test.LoopLessRpcTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\rpc_test.py", line 615, in test_server_close
self.loop.run_until_complete(communicate())
File "C:\Python34\lib\asyncio\base_events.py", line 208, in run_until_complete
return future.result()
File "C:\Python34\lib\asyncio\futures.py", line 243, in result
raise self._exception
File "C:\Python34\lib\asyncio\tasks.py", line 321, in _step
result = next(coro)
File "tests\rpc_test.py", line 606, in communicate
self.assertEqual(1, len(server._proto.pending_waiters))
AssertionError: 1 != 0

======================================================================
FAIL: test_server_close (rpc_test.LoopRpcTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\rpc_test.py", line 615, in test_server_close
self.loop.run_until_complete(communicate())
File "C:\Python34\lib\asyncio\base_events.py", line 208, in run_until_complete
return future.result()
File "C:\Python34\lib\asyncio\futures.py", line 243, in result
raise self._exception
File "C:\Python34\lib\asyncio\tasks.py", line 321, in _step
result = next(coro)
File "tests\rpc_test.py", line 606, in communicate
self.assertEqual(1, len(server._proto.pending_waiters))
AssertionError: 1 != 0

======================================================================
FAIL: test_close_on_error (zmq_events_test.ZmqLooplessTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\zmq_events_test.py", line 745, in test_close_on_error
check_errno(88, handler.call_args[0][1]['exception'])
File "Q:\Users\arvek\Repositories\accc-gui\aiozmq\aiozmq\_test_util.py", line 226, in check_errno
assert exc.errno == errno, (exc, errno)
AssertionError: (OSError(128, 'Unknown error'), 88)

======================================================================
FAIL: test_close_on_error (zmq_events_test.ZmqEventLoopTests)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests\zmq_events_test.py", line 745, in test_close_on_error
check_errno(88, handler.call_args[0][1]['exception'])
File "Q:\Users\arvek\Repositories\accc-gui\aiozmq\aiozmq\_test_util.py", line 226, in check_errno
assert exc.errno == errno, (exc, errno)
AssertionError: (OSError(128, 'Unknown error'), 88)

----------------------------------------------------------------------
Ran 316 tests in 15.244s

FAILED (failures=4, skipped=13)
```

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.