You've already forked node-redis
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:
@@ -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 () {
|
||||||
|
@@ -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 () {
|
||||||
|
Reference in New Issue
Block a user