{"action":"opened","issue":{"url":"https://api.github.com/repos/saghul/pycares/issues/66","repository_url":"https://api.github.com/repos/saghul/pycares","labels_url":"https://api.github.com/repos/saghul/pycares/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/saghul/pycares/issues/66/comments","events_url":"https://api.github.com/repos/saghul/pycares/issues/66/events","html_url":"https://github.com/saghul/pycares/issues/66","id":330347754,"node_id":"MDU6SXNzdWUzMzAzNDc3NTQ=","number":66,"title":"Failure in test_query_txt_bytes1","user":{"login":"gvanem","id":945271,"node_id":"MDQ6VXNlcjk0NTI3MQ==","avatar_url":"https://avatars0.githubusercontent.com/u/945271?v=4","gravatar_id":"","url":"https://api.github.com/users/gvanem","html_url":"https://github.com/gvanem","followers_url":"https://api.github.com/users/gvanem/followers","following_url":"https://api.github.com/users/gvanem/following{/other_user}","gists_url":"https://api.github.com/users/gvanem/gists{/gist_id}","starred_url":"https://api.github.com/users/gvanem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gvanem/subscriptions","organizations_url":"https://api.github.com/users/gvanem/orgs","repos_url":"https://api.github.com/users/gvanem/repos","events_url":"https://api.github.com/users/gvanem/events{/privacy}","received_events_url":"https://api.github.com/users/gvanem/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-07T16:28:41Z","updated_at":"2018-06-07T16:28:41Z","closed_at":null,"author_association":"NONE","body":"The `test/test.py` fails on ` test_query_txt_bytes1` since the domain `like.com.ca` does not longer exists:\r\n```\r\nFAIL: test_query_txt_bytes1 (__main__.DNSTest)\r\n----------------------------------------------------------------------\r\nTraceback (most recent call last):\r\n  File \"F:\\MingW32\\src\\inet\\DNS\\c-ares\\PyCares\\tests\\tests.py\", line 206, in test_query_txt_bytes1\r\n    self.assertEqual(self.errorno, None)\r\nAssertionError: 12 != None\r\n```\r\n\r\n12 == `ARES_ETIMEOUT`.\r\nBut changing it to `like.com`, all seems okay:\r\n```diff\r\n--- a/tests/tests.py 2017-11-16 21:09:56\r\n+++ b/tests/tests.py 2018-06-07 16:23:10\r\n@@ -201,7 +201,7 @@\r\n         self.result, self.errorno = None, None\r\n         def cb(result, errorno):\r\n             self.result, self.errorno = result, errorno\r\n-        self.channel.query('like.com.sa', pycares.QUERY_TYPE_TXT, cb)\r\n+        self.channel.query('like.com', pycares.QUERY_TYPE_TXT, cb)\r\n         self.wait()\r\n         self.assertEqual(self.errorno, None)\r\n```"}}
{"actor":{"display_login":"gvanem"}}