Skip to content

Commit

Permalink
ensure RedisPool has status delay
Browse files Browse the repository at this point in the history
  • Loading branch information
simon-contreras-deel committed May 8, 2020
1 parent 6455ed2 commit 8728b58
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@ describe('RedisPool', function () {
assert.ok(redisPool);
});

it('ensure RedisPool has status delay', function () {
const options = Object.assign({ emitter: {} }, TEST_OPTIONS);
const redisPool = new RedisPool(options);
assert.equal(redisPool._getStatusDelay(), 60000);
});

it('pool has proper size, available and pending', async function () {
const DATABASE = 0;

Expand Down

0 comments on commit 8728b58

Please sign in to comment.