{"action":"created","issue":{"url":"https://api.github.com/repos/joyent/node/issues/25606","labels_url":"https://api.github.com/repos/joyent/node/issues/25606/labels{/name}","comments_url":"https://api.github.com/repos/joyent/node/issues/25606/comments","events_url":"https://api.github.com/repos/joyent/node/issues/25606/events","html_url":"https://github.com/joyent/node/pull/25606","id":92348131,"number":25606,"title":"test: mark microtask-queue-run(-domain) as flaky","user":{"login":"joaocgreis","id":134460,"avatar_url":"https://avatars.githubusercontent.com/u/134460?v=3","gravatar_id":"","url":"https://api.github.com/users/joaocgreis","html_url":"https://github.com/joaocgreis","followers_url":"https://api.github.com/users/joaocgreis/followers","following_url":"https://api.github.com/users/joaocgreis/following{/other_user}","gists_url":"https://api.github.com/users/joaocgreis/gists{/gist_id}","starred_url":"https://api.github.com/users/joaocgreis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joaocgreis/subscriptions","organizations_url":"https://api.github.com/users/joaocgreis/orgs","repos_url":"https://api.github.com/users/joaocgreis/repos","events_url":"https://api.github.com/users/joaocgreis/events{/privacy}","received_events_url":"https://api.github.com/users/joaocgreis/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joyent/node/labels/in%20progress","name":"in progress","color":"ededed"},{"url":"https://api.github.com/repos/joyent/node/labels/pr","name":"pr","color":"006b75"},{"url":"https://api.github.com/repos/joyent/node/labels/v0.12","name":"v0.12","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-07-01T10:51:41Z","updated_at":"2015-07-02T15:36:39Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joyent/node/pulls/25606","html_url":"https://github.com/joyent/node/pull/25606","diff_url":"https://github.com/joyent/node/pull/25606.diff","patch_url":"https://github.com/joyent/node/pull/25606.patch"},"body":"`test-microtask-queue-run` and `test-microtask-queue-run-domain` appear to be flaky, failing very rarely. Testing 10k runs on the platforms I have available, I got failure rates as high as:\r\n\r\n- Linux x64: `OK: 9964   NOT OK: 36`\r\n\r\n- Windows 7 x64: `OK: 9843   NOT OK: 157`\r\n\r\n- SmartOS x86 (gcc 4.7): `OK: 9904   NOT OK: 96`\r\n\r\nThe results appear to be influenced by the machine load, I got much lower results on an otherwise idle machine.\r\n\r\nQuick test:\r\n```\r\ntime (OK=0; NOK=0; for i in `seq 10000`; do ./out/Release/node test/simple/test-microtask-queue-run.js && OK=$(($OK+1)) || NOK=$(($NOK+1)); echo \"$i   OK: $OK   NOT OK: $NOK\"; done)\r\n```\r\n\r\nOther tests from `test-microtask-queue-*` seem okay."},"comment":{"url":"https://api.github.com/repos/joyent/node/issues/comments/118071597","html_url":"https://github.com/joyent/node/pull/25606#issuecomment-118071597","issue_url":"https://api.github.com/repos/joyent/node/issues/25606","id":118071597,"user":{"login":"misterdjules","id":811047,"avatar_url":"https://avatars.githubusercontent.com/u/811047?v=3","gravatar_id":"","url":"https://api.github.com/users/misterdjules","html_url":"https://github.com/misterdjules","followers_url":"https://api.github.com/users/misterdjules/followers","following_url":"https://api.github.com/users/misterdjules/following{/other_user}","gists_url":"https://api.github.com/users/misterdjules/gists{/gist_id}","starred_url":"https://api.github.com/users/misterdjules/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/misterdjules/subscriptions","organizations_url":"https://api.github.com/users/misterdjules/orgs","repos_url":"https://api.github.com/users/misterdjules/repos","events_url":"https://api.github.com/users/misterdjules/events{/privacy}","received_events_url":"https://api.github.com/users/misterdjules/received_events","type":"User","site_admin":false},"created_at":"2015-07-02T15:36:39Z","updated_at":"2015-07-02T15:36:39Z","body":"LGTM, thank you @joaocgreis :+1:"}}