You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Fix race condition in tests
This commit is contained in:
@@ -18,7 +18,7 @@ describe("The 'keys' method", function () {
|
||||
// This is going to test if the high water is also respected
|
||||
args.command_queue_high_water = 100;
|
||||
client = redis.createClient.apply(redis.createClient, args);
|
||||
client.once("connect", function () {
|
||||
client.once("ready", function () {
|
||||
client.flushdb(done);
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user