{"action":"created","issue":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1395","labels_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1395/labels{/name}","comments_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1395/comments","events_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1395/events","html_url":"https://github.com/phoenixframework/phoenix/issues/1395","id":120917066,"number":1395,"title":"mix test seems to hang on inet_gethost","user":{"login":"edyu","id":64173,"avatar_url":"https://avatars.githubusercontent.com/u/64173?v=3","gravatar_id":"","url":"https://api.github.com/users/edyu","html_url":"https://github.com/edyu","followers_url":"https://api.github.com/users/edyu/followers","following_url":"https://api.github.com/users/edyu/following{/other_user}","gists_url":"https://api.github.com/users/edyu/gists{/gist_id}","starred_url":"https://api.github.com/users/edyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edyu/subscriptions","organizations_url":"https://api.github.com/users/edyu/orgs","repos_url":"https://api.github.com/users/edyu/repos","events_url":"https://api.github.com/users/edyu/events{/privacy}","received_events_url":"https://api.github.com/users/edyu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2015-12-08T02:37:03Z","updated_at":"2015-12-08T19:17:15Z","closed_at":null,"body":"On mac os x El Capitan (10.11.1):\r\n1. I used brew to install elixir 1.1.1 and then installed the latest v1.0.4 phoenix today. \r\n2. create any new application using \"mix phoenix.new new_app --database mysql\"\r\n3. mix ecto.create\r\n4 mix test (hangs forever)\r\nFrom the Terminal app, I can see that the test is hang on the process inet_gethost\r\n"},"comment":{"url":"https://api.github.com/repos/phoenixframework/phoenix/issues/comments/162986710","html_url":"https://github.com/phoenixframework/phoenix/issues/1395#issuecomment-162986710","issue_url":"https://api.github.com/repos/phoenixframework/phoenix/issues/1395","id":162986710,"user":{"login":"josevalim","id":9582,"avatar_url":"https://avatars.githubusercontent.com/u/9582?v=3","gravatar_id":"","url":"https://api.github.com/users/josevalim","html_url":"https://github.com/josevalim","followers_url":"https://api.github.com/users/josevalim/followers","following_url":"https://api.github.com/users/josevalim/following{/other_user}","gists_url":"https://api.github.com/users/josevalim/gists{/gist_id}","starred_url":"https://api.github.com/users/josevalim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/josevalim/subscriptions","organizations_url":"https://api.github.com/users/josevalim/orgs","repos_url":"https://api.github.com/users/josevalim/repos","events_url":"https://api.github.com/users/josevalim/events{/privacy}","received_events_url":"https://api.github.com/users/josevalim/received_events","type":"User","site_admin":false},"created_at":"2015-12-08T19:17:15Z","updated_at":"2015-12-08T19:17:15Z","body":"@edyu `ecto.create` uses the mysql command line to create the database which may bypass or work differently than the TCP authentication which Ecto surely uses."}}