{"action":"created","issue":{"url":"https://api.github.com/repos/Quick/Nimble/issues/177","labels_url":"https://api.github.com/repos/Quick/Nimble/issues/177/labels{/name}","comments_url":"https://api.github.com/repos/Quick/Nimble/issues/177/comments","events_url":"https://api.github.com/repos/Quick/Nimble/issues/177/events","html_url":"https://github.com/Quick/Nimble/issues/177","id":103974573,"number":177,"title":"Make Async Expectations more deterministic","user":{"login":"jeffh","id":68616,"avatar_url":"https://avatars.githubusercontent.com/u/68616?v=3","gravatar_id":"","url":"https://api.github.com/users/jeffh","html_url":"https://github.com/jeffh","followers_url":"https://api.github.com/users/jeffh/followers","following_url":"https://api.github.com/users/jeffh/following{/other_user}","gists_url":"https://api.github.com/users/jeffh/gists{/gist_id}","starred_url":"https://api.github.com/users/jeffh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeffh/subscriptions","organizations_url":"https://api.github.com/users/jeffh/orgs","repos_url":"https://api.github.com/users/jeffh/repos","events_url":"https://api.github.com/users/jeffh/events{/privacy}","received_events_url":"https://api.github.com/users/jeffh/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Quick/Nimble/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/help%20wanted","name":"help wanted","color":"159818"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/high%20priority","name":"high priority","color":"eb6420"},{"url":"https://api.github.com/repos/Quick/Nimble/labels/tricky","name":"tricky","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-08-31T02:31:11Z","updated_at":"2015-10-14T16:11:51Z","closed_at":null,"body":"Nimble has flaky tests on slower machines :cry:.\r\n\r\nIt's related to the `pollBlock` abort feature when the main thread is backlogged with deferred messages that take a while to compute. This causes `NSRunLoop.runUntilDate` to run longer than expected. Nimble currently tries to stop the runloop if it's taking too long from another thread.\r\n\r\nThis sometimes occurs on travis but can be reliably reproduced on a mac mini that runs Xcode Server + all simulator devices.\r\n\r\nThis causes failures in `AsynchronousTest.swift`:\r\n\r\n![screen shot 2015-08-30 at 7 29 28 pm](https://cloud.githubusercontent.com/assets/68616/9571115/85fa6078-4f4d-11e5-9f51-8a498d0310e8.png)\r\n\r\n![screen shot 2015-08-30 at 7 29 23 pm](https://cloud.githubusercontent.com/assets/68616/9571116/881d31fa-4f4d-11e5-9b24-e366989deca6.png)\r\n\r\nThese are two separate builds on Xcode Server reports as failed. Most Xcode Server builds tend to alternate between these two sets of failures.\r\n\r\nMore investigation is required."},"comment":{"url":"https://api.github.com/repos/Quick/Nimble/issues/comments/148102619","html_url":"https://github.com/Quick/Nimble/issues/177#issuecomment-148102619","issue_url":"https://api.github.com/repos/Quick/Nimble/issues/177","id":148102619,"user":{"login":"ashfurrow","id":498212,"avatar_url":"https://avatars.githubusercontent.com/u/498212?v=3","gravatar_id":"","url":"https://api.github.com/users/ashfurrow","html_url":"https://github.com/ashfurrow","followers_url":"https://api.github.com/users/ashfurrow/followers","following_url":"https://api.github.com/users/ashfurrow/following{/other_user}","gists_url":"https://api.github.com/users/ashfurrow/gists{/gist_id}","starred_url":"https://api.github.com/users/ashfurrow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ashfurrow/subscriptions","organizations_url":"https://api.github.com/users/ashfurrow/orgs","repos_url":"https://api.github.com/users/ashfurrow/repos","events_url":"https://api.github.com/users/ashfurrow/events{/privacy}","received_events_url":"https://api.github.com/users/ashfurrow/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T16:11:51Z","updated_at":"2015-10-14T16:11:51Z","body":"Still seeing this on the latest release. "}}