{"action":"closed","issue":{"url":"https://api.github.com/repos/gevent/gevent/issues/485","labels_url":"https://api.github.com/repos/gevent/gevent/issues/485/labels{/name}","comments_url":"https://api.github.com/repos/gevent/gevent/issues/485/comments","events_url":"https://api.github.com/repos/gevent/gevent/issues/485/events","html_url":"https://github.com/gevent/gevent/issues/485","id":44184695,"number":485,"title":"test__example_echoserver.py fails if Xorg is running","user":{"login":"minusf","id":3632883,"avatar_url":"https://avatars.githubusercontent.com/u/3632883?v=3","gravatar_id":"","url":"https://api.github.com/users/minusf","html_url":"https://github.com/minusf","followers_url":"https://api.github.com/users/minusf/followers","following_url":"https://api.github.com/users/minusf/following{/other_user}","gists_url":"https://api.github.com/users/minusf/gists{/gist_id}","starred_url":"https://api.github.com/users/minusf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/minusf/subscriptions","organizations_url":"https://api.github.com/users/minusf/orgs","repos_url":"https://api.github.com/users/minusf/repos","events_url":"https://api.github.com/users/minusf/events{/privacy}","received_events_url":"https://api.github.com/users/minusf/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-27T18:22:07Z","updated_at":"2015-07-07T16:41:17Z","closed_at":"2015-07-07T16:41:17Z","body":"`test__example_echoserver.py` binds to port `6000`.\r\nthis fails on systems where Xorg is running without `-nolisten`\r\n(the default on e.g. OpenBSD).\r\n\r\n``` patch\r\n--- test__example_echoserver.py.orig    Sat Sep 27 20:15:01 2014\r\n+++ test__example_echoserver.py Sat Sep 27 20:15:04 2014\r\n@@ -11,7 +11,7 @@\r\n \r\n     def _run_all_tests(self):\r\n         def test_client(message):\r\n-            conn = create_connection(('127.0.0.1', 6000)).makefile(bufsize=1)\r\n+            conn = create_connection(('127.0.0.1', 16000)).makefile(bufsize=1)\r\n             welcome = conn.readline()\r\n             assert 'Welcome' in welcome, repr(welcome)\r\n             conn.write(message)\r\n```\r\n\r\nperhaps the example `echoserver.py` could be also changed,\r\nbut that is just an example anyway."}}