You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Improve tests a bit
Reduce timeouts if possible Extend timeouts if needed (windows tests need their time) Don't expose the redis socket to others than the owner Don't create the stunnel log
This commit is contained in:
@@ -90,7 +90,7 @@ describe("The 'flushdb' method", function () {
|
||||
it('results in a db size of zero without a callback', function (done) {
|
||||
client.flushdb();
|
||||
setTimeout(function (err, res) {
|
||||
client.dbsize([], function (err, res) {
|
||||
client.dbsize(function (err, res) {
|
||||
helper.isNotError()(err, res);
|
||||
helper.isType.number()(err, res);
|
||||
assert.strictEqual(0, res, 'Flushing db should result in db size 0');
|
||||
|
Reference in New Issue
Block a user