Permalink
Browse files

use simple_sentinel

  • Loading branch information...
1 parent 45af583 commit 7fedfb4942e7d7fa02d6948ae0ec6a190f635919 @vanchi-zendesk vanchi-zendesk committed Mar 29, 2014
View
@@ -5,8 +5,6 @@ vendor/bundle/
npm-debug.log
devmode.log
logs/radar.log
-tests/sentinel/redis
-tests/sentinel/sentinel
# mac os file explorer settings
.DS_Store
View
@@ -42,15 +42,16 @@
"devDependencies": {
"mocha": "*",
"radar_client": "0.2.18",
- "long-stack-traces": "*"
+ "long-stack-traces": "*",
+ "simple_sentinel": "*"
},
"scripts": {
"prestart": "npm run check-modules",
"start": "node server.js",
"check-modules": "if [ -z \"$SKIP_PACKAGE_CHECK\" ] && [ ./package.json -nt ./node_modules ]; then echo 'Your node_modules are out of date. Please run \"npm update\"' && exit 1; fi",
"pretest": "npm run check-modules",
- "start-sentinel": "cd tests/sentinel/ && ./sentinel_helper start && cd ../../",
- "stop-sentinel": "cd tests/sentinel/ && ./sentinel_helper stop && cd ../../",
+ "start-sentinel": "./node_modules/simple_sentinel/bin/simple_sentinel start",
+ "stop-sentinel": "./node_modules/simple_sentinel/bin/simple_sentinel stop",
"test-redis": "ls ./tests/*.test.js | xargs -n 1 -t -I {} sh -c 'TEST=\"{}\" npm run test-one'",
"pretest-sentinel": "npm run start-sentinel",
"test-sentinel": "ls ./tests/*.test.js | xargs -n 1 -t -I {} sh -c 'TEST=\"{}\" radar_connection=cluster1 npm run test-one'",
@@ -17,7 +17,7 @@ module.exports = {
sentinels: [
{
host: 'localhost',
- port: 26380
+ port: 26379
}]
},
cluster2: {
Oops, something went wrong.

0 comments on commit 7fedfb4

Please sign in to comment.