{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/io.js/issues/1954","labels_url":"https://api.github.com/repos/nodejs/io.js/issues/1954/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/io.js/issues/1954/comments","events_url":"https://api.github.com/repos/nodejs/io.js/issues/1954/events","html_url":"https://github.com/nodejs/io.js/pull/1954","id":87575356,"number":1954,"title":"test: only refresh tmpDir for tests that need it","user":{"login":"Trott","id":718899,"avatar_url":"https://avatars.githubusercontent.com/u/718899?v=3","gravatar_id":"","url":"https://api.github.com/users/Trott","html_url":"https://github.com/Trott","followers_url":"https://api.github.com/users/Trott/followers","following_url":"https://api.github.com/users/Trott/following{/other_user}","gists_url":"https://api.github.com/users/Trott/gists{/gist_id}","starred_url":"https://api.github.com/users/Trott/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Trott/subscriptions","organizations_url":"https://api.github.com/users/Trott/orgs","repos_url":"https://api.github.com/users/Trott/repos","events_url":"https://api.github.com/users/Trott/events{/privacy}","received_events_url":"https://api.github.com/users/Trott/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/io.js/labels/test","name":"test","color":"990099"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-12T02:10:56Z","updated_at":"2015-06-13T03:47:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/io.js/pulls/1954","html_url":"https://github.com/nodejs/io.js/pull/1954","diff_url":"https://github.com/nodejs/io.js/pull/1954.diff","patch_url":"https://github.com/nodejs/io.js/pull/1954.patch"},"body":"Expose `common.refreshTmpDir()` and only call it\r\nfor tests that use common.tmpDir or common.PIPE.\r\n\r\nA positive side effect is the removal of a code\r\nsmell where child processes were detected by the\r\npresence of `.send()`. Now each process can decide\r\nfor itself if it needs to refresh tmpDir.\r\n\r\n/cc @rvagg (who suggested this approach in comments on #1877)"},"comment":{"url":"https://api.github.com/repos/nodejs/io.js/issues/comments/111667003","html_url":"https://github.com/nodejs/io.js/pull/1954#issuecomment-111667003","issue_url":"https://api.github.com/repos/nodejs/io.js/issues/1954","id":111667003,"user":{"login":"jbergstroem","id":176984,"avatar_url":"https://avatars.githubusercontent.com/u/176984?v=3","gravatar_id":"","url":"https://api.github.com/users/jbergstroem","html_url":"https://github.com/jbergstroem","followers_url":"https://api.github.com/users/jbergstroem/followers","following_url":"https://api.github.com/users/jbergstroem/following{/other_user}","gists_url":"https://api.github.com/users/jbergstroem/gists{/gist_id}","starred_url":"https://api.github.com/users/jbergstroem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jbergstroem/subscriptions","organizations_url":"https://api.github.com/users/jbergstroem/orgs","repos_url":"https://api.github.com/users/jbergstroem/repos","events_url":"https://api.github.com/users/jbergstroem/events{/privacy}","received_events_url":"https://api.github.com/users/jbergstroem/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T03:47:13Z","updated_at":"2015-06-13T03:47:13Z","body":"Might as well try both"}}