1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-03 04:01:40 +03:00

Test windows fixes

Replace win-spawn with cross-spawn
This commit is contained in:
Ruben Bridgewater
2016-03-07 23:37:30 +01:00
parent 7ffba03be6
commit 20128fe779
6 changed files with 17 additions and 33 deletions

View File

@ -5,13 +5,9 @@ var config = require('./lib/config');
var helper = require('./helper');
var redis = config.redis;
if (process.platform === 'win32') {
// TODO: Fix redis process spawn on windows
return;
}
describe('client authentication', function () {
before(function (done) {
this.timeout(25000);
helper.stopRedis(function () {
helper.startRedis('./conf/password.conf', done);
});
@ -286,6 +282,7 @@ describe('client authentication', function () {
after(function (done) {
if (helper.redisProcess().spawnFailed()) return done();
this.timeout(25000);
helper.stopRedis(function () {
helper.startRedis('./conf/redis.conf', done);
});