File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change @@ -376,11 +376,6 @@ describe(`test with masterPoolSize 2`, () => {
376
376
} , GLOBAL . SENTINEL . WITH_MASTER_POOL_SIZE_2 ) ;
377
377
} ) ;
378
378
379
-
380
- // TODO: Figure out how to modify the test utils
381
- // so it would have fine grained controll over
382
- // sentinel
383
- // it should somehow replicate the `SentinelFramework` object functionallities
384
379
async function steadyState ( frame : SentinelFramework ) {
385
380
// wait a bit to ensure that sentinels are seeing eachother
386
381
await setTimeout ( 2000 )
Original file line number Diff line number Diff line change @@ -419,8 +419,8 @@ export async function spawnSentinelNode(
419
419
420
420
let sentinelConfig = `port ${ port }
421
421
sentinel monitor ${ sentinelName } 127.0.0.1 ${ masterPort } 2
422
- sentinel down-after-milliseconds ${ sentinelName } 5000
423
- sentinel failover-timeout ${ sentinelName } 6000
422
+ sentinel down-after-milliseconds ${ sentinelName } 500
423
+ sentinel failover-timeout ${ sentinelName } 1000
424
424
` ;
425
425
if ( password !== undefined ) {
426
426
sentinelConfig += `requirepass ${ password } \n` ;
You can’t perform that action at this time.
0 commit comments