Skip to content

Commit

Permalink
Test starting redis without services
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruben Bridgewater committed Apr 1, 2016
1 parent 20128fe commit fdfcbc7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions appveyor.yml
Expand Up @@ -18,9 +18,9 @@ shallow_clone: true
install:
# Install the Redis
- nuget install redis-64 -excludeversion
- redis-64\tools\redis-server.exe --service-install
- redis-64\tools\redis-server.exe --service-start
- '@ECHO Redis Started'
# - redis-64\tools\redis-server.exe --service-install
# - redis-64\tools\redis-server.exe --service-start
- '@ECHO Redis installed'
# Get the latest stable version of Node 0.STABLE.latest
- ps: Install-Product node $env:nodejs_version
# Typical npm stuff. Use msvs 2013 for the hiredis parser
Expand Down
3 changes: 2 additions & 1 deletion test/lib/redis-process.js
Expand Up @@ -50,7 +50,8 @@ module.exports = {
var spawnFailed = false;
// spawn redis with our testing configuration.
var confFile = conf || path.resolve(__dirname, '../conf/redis.conf');
var rp = spawn('redis-server', [confFile], {});
var redis = process.platform === 'win32' ? 'redis-64\tools\redis-server.exe' : 'redis-server';
var rp = spawn(redis, [confFile], {});

// capture a failure booting redis, and give
// the user running the test some directions.
Expand Down

0 comments on commit fdfcbc7

Please sign in to comment.