decentfox / tulipcore

An alternative Gevent core loop implementation with asyncio
Other
134 stars 12 forks source link

Make tests pass! #1

Open fantix opened 10 years ago

fantix commented 10 years ago

The tests are failing because the port (from gevent event loop to asyncio event loop) is not finished. Fix the code accordingly so that tests pass, indicating the completeness of the port.

See https://github.com/fantix/gevent3/wiki/Replacing-Event-Loop.

fantix commented 10 years ago

Most tests are passing now after the rework as tulipcore. Some tests requires fixes in gevent source tree.

33/121 unexpected failures
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_httplib.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_urllib2_localnet.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test_hub_join.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_asyncore.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_urllib2net.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test_threading_2.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_threading.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_signal.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_socket.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_urllib2_localnet.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__socket_dns.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_thread.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_httplib.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_thread.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_ssl.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_select.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__doctests.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_subprocess.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_ssl.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__ares_host_result.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_select.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_subprocess.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_asyncore.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test_close_backend_fd.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_socket.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test test_urllib2.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test_ares_timeout.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__core_stat.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__destroy.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_urllib2net.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u -m monkey_test --Event test_threading_local.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test_hub_join_timeout.py
 - GEVENT_LOOP=tulipcore.Loop /Users/fantix/py3kenv/bin/python -u test__environ.py