diff options
author | Rich Trott <rtrott@gmail.com> | 2015-10-06 21:12:45 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2015-10-08 20:05:22 -0700 |
commit | a1040f206506af0787f62740ec57a4c4a7541038 (patch) | |
tree | 1b573993237749bcb4f12321ec1c73df0fd9161d /test/parallel/test-http-client-response-domain.js | |
parent | 47befffc5325a39e80208cafc9acf3827a5aa721 (diff) | |
download | android-node-v8-a1040f206506af0787f62740ec57a4c4a7541038.tar.gz android-node-v8-a1040f206506af0787f62740ec57a4c4a7541038.tar.bz2 android-node-v8-a1040f206506af0787f62740ec57a4c4a7541038.zip |
test: refresh temp directory when using pipe
common.PIPE resides in the temp directory (except on Windows). Insure
that the temp directory is refreshed in tests that use common.PIPE.
PR-URL: https://github.com/nodejs/node/pull/3231
Fixes: https://github.com/nodejs/node/issues/3227
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'test/parallel/test-http-client-response-domain.js')
-rw-r--r-- | test/parallel/test-http-client-response-domain.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parallel/test-http-client-response-domain.js b/test/parallel/test-http-client-response-domain.js index 1637882a3c..5809d93aee 100644 --- a/test/parallel/test-http-client-response-domain.js +++ b/test/parallel/test-http-client-response-domain.js @@ -11,6 +11,8 @@ process.on('exit', function() { assert(gotDomainError); }); +common.refreshTmpDir(); + // first fire up a simple HTTP server var server = http.createServer(function(req, res) { res.writeHead(200); |