You've already forked node-redis
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:
@ -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);
|
||||
});
|
||||
|
Reference in New Issue
Block a user