Closed jonahfang closed 7 years ago
I have upgraded to Sanic 0.6.0 and pytest-sanic 0.1.3, when I run the old unit test, it just hang and show timeout errror like :
self = <_UnixSelectorEventLoop running=False closed=False debug=False> fut = <Future finished exception=TimeoutError(110, "Connect call failed ('202.102.110.204', 6379)")> sock = <socket.socket [closed] fd=-1, family=AddressFamily.AF_INET, type=2049, proto=6>, address = ('202.102.110.204', 6379) def _sock_connect_cb(self, fut, sock, address): if fut.cancelled(): return try: err = sock.getsockopt(socket.SOL_SOCKET, socket.SO_ERROR) if err != 0: # Jump to any except clause below. > raise OSError(err, 'Connect call failed %s' % (address,)) E TimeoutError: [Errno 110] Connect call failed ('202.102.110.204', 6379) /usr/local/lib/python3.6/asyncio/selector_events.py:481: TimeoutError 1 error in 127.89 seconds
sorry ,it is not related with this project.
I have upgraded to Sanic 0.6.0 and pytest-sanic 0.1.3, when I run the old unit test, it just hang and show timeout errror like :