You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
chore: try workaround travis windows hanging issue
This commit is contained in:
@@ -11,6 +11,14 @@ var fork = require('child_process').fork;
|
||||
var redis = config.redis;
|
||||
var client;
|
||||
|
||||
after(function (done) {
|
||||
if (process.platform !== 'win32' || !process.env.CI) {
|
||||
return done();
|
||||
}
|
||||
require('cross-spawn').sync('redis-server', ['--service-stop'], {});
|
||||
done();
|
||||
});
|
||||
|
||||
describe('The node_redis client', function () {
|
||||
|
||||
describe("The 'add_command' method", function () {
|
||||
|
Reference in New Issue
Block a user