Skip to content

Commit

Permalink
Fix redis branch coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Ng committed Feb 1, 2016
1 parent c9b25a8 commit 418c810
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions test/edge-coverage/redis.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,18 @@ tap.test('redis strategy - fails when no options are given', function (t) {
})

tap.test('redis strategy - acquisition times out', function (t) {
var a = new Strategy({id: uuid.v4()})
, b = new Strategy({id: uuid.v4()})
var a = new Strategy({
id: uuid.v4()
, strategyOptions: {
connectionString: 'redis://127.0.0.1'
}
})
, b = new Strategy({
id: uuid.v4()
, strategyOptions: {
connectionString: 'redis://127.0.0.1'
}
})
, sameKey = 'timeOutLock'
, sawExpectedErr = false

Expand Down

0 comments on commit 418c810

Please sign in to comment.