test(server): installation in cluster

This commit is contained in:
mytharcher 2024-08-01 12:59:16 +00:00
parent 3e19b27d73
commit aa41ae4cc9

View File

@ -280,7 +280,7 @@ export async function createMockCluster({
...options
}: MockClusterOptions = {}) {
const nodes: MockServer[] = [];
for (const i of _.range(0, number || 2)) {
for (let i = 0; i < number; i++) {
const app: MockServer = await createMockServer({
...options,
skipSupervisor: true,
@ -290,6 +290,7 @@ export async function createMockCluster({
channelPrefix: clusterName,
},
});
console.log('-------------', await app.isInstalled());
nodes.push(app);
}
return {