Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

use fs.writeSync() instead of fs.write() so that unit tests doesn't f…

…ail randomly
  • Loading branch information...
commit 434650f8e50da2c84f358be144fdf9a87abf5be6 1 parent a69f4f8
@infynyxx infynyxx authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  test/graphite_tests.js
View
2  test/graphite_tests.js
@@ -13,7 +13,7 @@ var fs = require('fs'),
var writeconfig = function(text,worker,cb,obj){
temp.open({suffix: '-statsdconf.js'}, function(err, info) {
if (err) throw err;
- fs.write(info.fd, text);
+ fs.writeSync(info.fd, text);
fs.close(info.fd, function(err) {
if (err) throw err;
worker(info.path,cb,obj);
Please sign in to comment.
Something went wrong with that request. Please try again.