We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9454839 commit 993a155Copy full SHA for 993a155
packages/client/lib/cluster/index.spec.ts
@@ -343,7 +343,7 @@ describe('Cluster', () => {
343
describe('clusterEvents', () => {
344
testUtils.testWithCluster('should fire events', async (cluster) => {
345
const log: string[] = [];
346
- const { numberOfMasters } = GLOBAL.CLUSTERS.WITH_REPLICAS;
+ const numberOfMasters = 2;
347
const nodeConnect = numberOfMasters;
348
const nodeReady = nodeConnect + numberOfMasters;
349
const connect = nodeReady + 1;
@@ -393,6 +393,8 @@ describe('Cluster', () => {
393
}, {
394
...GLOBAL.CLUSTERS.OPEN,
395
disableClusterSetup: true,
396
+ numberOfMasters: 2,
397
+ numberOfReplicas: 1,
398
});
399
400
0 commit comments