You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
fix cluster tests flushall
This commit is contained in:
@@ -202,7 +202,7 @@ export default class TestUtils {
|
||||
return Promise.all(
|
||||
cluster.masters.map(async master => {
|
||||
if (master.client) {
|
||||
(await cluster.nodeClient(master)).flushAll();
|
||||
await (await cluster.nodeClient(master)).flushAll();
|
||||
}
|
||||
})
|
||||
);
|
||||
@@ -245,7 +245,6 @@ export default class TestUtils {
|
||||
port
|
||||
}
|
||||
})),
|
||||
minimizeConnections: true,
|
||||
...options.clusterConfiguration
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user