{"action":"created","issue":{"url":"https://api.github.com/repos/celluloid/nio4r/issues/65","labels_url":"https://api.github.com/repos/celluloid/nio4r/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/celluloid/nio4r/issues/65/comments","events_url":"https://api.github.com/repos/celluloid/nio4r/issues/65/events","html_url":"https://github.com/celluloid/nio4r/issues/65","id":65055440,"number":65,"title":"Random test failures related to instant readiness","user":{"login":"Burgestrand","id":99166,"avatar_url":"https://avatars.githubusercontent.com/u/99166?v=3","gravatar_id":"","url":"https://api.github.com/users/Burgestrand","html_url":"https://github.com/Burgestrand","followers_url":"https://api.github.com/users/Burgestrand/followers","following_url":"https://api.github.com/users/Burgestrand/following{/other_user}","gists_url":"https://api.github.com/users/Burgestrand/gists{/gist_id}","starred_url":"https://api.github.com/users/Burgestrand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Burgestrand/subscriptions","organizations_url":"https://api.github.com/users/Burgestrand/orgs","repos_url":"https://api.github.com/users/Burgestrand/repos","events_url":"https://api.github.com/users/Burgestrand/events{/privacy}","received_events_url":"https://api.github.com/users/Burgestrand/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-29T12:23:02Z","updated_at":"2015-03-29T17:36:27Z","closed_at":null,"body":"There are some random failures in the test suite related to readiness. When I ran the test suite sometimes IO objects are not instantly ready when expected to.\r\n\r\nFor example https://github.com/celluloid/nio4r/blob/master/spec/nio/selectables/tcp_socket_spec.rb#L83 fails because the `selector.select(0)` call sometimes return nil.\r\n\r\nI've noticed about 4 or 5 of these failures in master. Unfortunately I'm having issues replicating all these failures on my development laptop, I believe it might be too slow and old to catch the race conditions."},"comment":{"url":"https://api.github.com/repos/celluloid/nio4r/issues/comments/87449616","html_url":"https://github.com/celluloid/nio4r/issues/65#issuecomment-87449616","issue_url":"https://api.github.com/repos/celluloid/nio4r/issues/65","id":87449616,"user":{"login":"tarcieri","id":797,"avatar_url":"https://avatars.githubusercontent.com/u/797?v=3","gravatar_id":"","url":"https://api.github.com/users/tarcieri","html_url":"https://github.com/tarcieri","followers_url":"https://api.github.com/users/tarcieri/followers","following_url":"https://api.github.com/users/tarcieri/following{/other_user}","gists_url":"https://api.github.com/users/tarcieri/gists{/gist_id}","starred_url":"https://api.github.com/users/tarcieri/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarcieri/subscriptions","organizations_url":"https://api.github.com/users/tarcieri/orgs","repos_url":"https://api.github.com/users/tarcieri/repos","events_url":"https://api.github.com/users/tarcieri/events{/privacy}","received_events_url":"https://api.github.com/users/tarcieri/received_events","type":"User","site_admin":false},"created_at":"2015-03-29T17:36:27Z","updated_at":"2015-03-29T17:36:27Z","body":"nio4r was pretty ridiculously hard to write tests for because it depends on I/O objects being in certain states, and despite some pretty gnarly code trying to put them into those states, it seems sometimes they don't ever actually enter the intended state."}}