From da8c2603c4fcc13506dc88b29d9032d19c949e8f Mon Sep 17 00:00:00 2001 From: Ruben Bridgewater Date: Fri, 4 Sep 2015 17:23:29 +0200 Subject: [PATCH] Reduce timeouts --- test/commands/expire.spec.js | 2 +- test/commands/ttl.spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/commands/expire.spec.js b/test/commands/expire.spec.js index ce3af95dc2..4173a3a4bd 100644 --- a/test/commands/expire.spec.js +++ b/test/commands/expire.spec.js @@ -24,7 +24,7 @@ describe("The 'expire' method", function () { client.EXPIRE(["expiry key", "1"], helper.isNumber(1)); setTimeout(function () { client.exists(["expiry key"], helper.isNumber(0, done)); - }, 1500); + }, 1100); }); afterEach(function () { diff --git a/test/commands/ttl.spec.js b/test/commands/ttl.spec.js index 35beaa6baf..5e1f56150f 100644 --- a/test/commands/ttl.spec.js +++ b/test/commands/ttl.spec.js @@ -28,7 +28,7 @@ describe("The 'ttl' method", function () { assert.ok(ttl > 50 && ttl <= 100); return done(err); }); - }, 500); + }, 200); }); afterEach(function () {