1
0
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:
Leibale
2023-10-02 14:13:44 -04:00
parent 7b4d12bdb3
commit 69cf68b20b

View File

@@ -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
});