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