{"action":"created","issue":{"url":"https://api.github.com/repos/substack/tape/issues/219","labels_url":"https://api.github.com/repos/substack/tape/issues/219/labels{/name}","comments_url":"https://api.github.com/repos/substack/tape/issues/219/comments","events_url":"https://api.github.com/repos/substack/tape/issues/219/events","html_url":"https://github.com/substack/tape/issues/219","id":120716434,"number":219,"title":"Flaky tests","user":{"login":"ronkorving","id":631240,"avatar_url":"https://avatars.githubusercontent.com/u/631240?v=3","gravatar_id":"","url":"https://api.github.com/users/ronkorving","html_url":"https://github.com/ronkorving","followers_url":"https://api.github.com/users/ronkorving/followers","following_url":"https://api.github.com/users/ronkorving/following{/other_user}","gists_url":"https://api.github.com/users/ronkorving/gists{/gist_id}","starred_url":"https://api.github.com/users/ronkorving/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ronkorving/subscriptions","organizations_url":"https://api.github.com/users/ronkorving/orgs","repos_url":"https://api.github.com/users/ronkorving/repos","events_url":"https://api.github.com/users/ronkorving/events{/privacy}","received_events_url":"https://api.github.com/users/ronkorving/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2015-12-07T07:32:57Z","updated_at":"2015-12-26T01:06:03Z","closed_at":null,"body":"It would be nice if tape would support the ability to mark a test (or assertion) as flaky. It can be quite a pain when a test that depends on a 3rd party online service blocks the deployment of my own software, because that 3rd party is not cooperating."},"comment":{"url":"https://api.github.com/repos/substack/tape/issues/comments/167269136","html_url":"https://github.com/substack/tape/issues/219#issuecomment-167269136","issue_url":"https://api.github.com/repos/substack/tape/issues/219","id":167269136,"user":{"login":"Raynos","id":479538,"avatar_url":"https://avatars.githubusercontent.com/u/479538?v=3","gravatar_id":"","url":"https://api.github.com/users/Raynos","html_url":"https://github.com/Raynos","followers_url":"https://api.github.com/users/Raynos/followers","following_url":"https://api.github.com/users/Raynos/following{/other_user}","gists_url":"https://api.github.com/users/Raynos/gists{/gist_id}","starred_url":"https://api.github.com/users/Raynos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Raynos/subscriptions","organizations_url":"https://api.github.com/users/Raynos/orgs","repos_url":"https://api.github.com/users/Raynos/repos","events_url":"https://api.github.com/users/Raynos/events{/privacy}","received_events_url":"https://api.github.com/users/Raynos/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T01:06:03Z","updated_at":"2015-12-26T01:06:03Z","body":"You can always write code to make tests not flaky\r\n\r\n```js\r\ntest('some thingy', function t(assert) {\r\n  doSomethingWeird(function (err, result) {\r\n    if (result) {\r\n      /* some asserts */\r\n    } else {\r\n       assert.ok(true, 'skipping error case because flap');\r\n    }\r\n\r\n    assert.end();\r\n  });\r\n});\r\n```"}}