1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Reduce timeouts

This commit is contained in:
Ruben Bridgewater
2015-09-04 17:23:29 +02:00
parent 463c7fd062
commit da8c2603c4
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ describe("The 'expire' method", function () {
client.EXPIRE(["expiry key", "1"], helper.isNumber(1)); client.EXPIRE(["expiry key", "1"], helper.isNumber(1));
setTimeout(function () { setTimeout(function () {
client.exists(["expiry key"], helper.isNumber(0, done)); client.exists(["expiry key"], helper.isNumber(0, done));
}, 1500); }, 1100);
}); });
afterEach(function () { afterEach(function () {

View File

@@ -28,7 +28,7 @@ describe("The 'ttl' method", function () {
assert.ok(ttl > 50 && ttl <= 100); assert.ok(ttl > 50 && ttl <= 100);
return done(err); return done(err);
}); });
}, 500); }, 200);
}); });
afterEach(function () { afterEach(function () {