Skip to content
Prev Previous commit
Next Next commit
clusterNode
  • Loading branch information
Avital-Fine committed Mar 8, 2022
commit 1e2efb9f5f39f920bbe16dc87ad8b3d7d10c027e
2 changes: 1 addition & 1 deletion packages/client/lib/commands/CLUSTER_BUMPEPOCH.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER BUMPEPOCH', () => {
);
});

testUtils.testWithCluster('cluster.clusterBumpEpoch', async cluster => {
testUtils.testWithCluster('clusterNode.clusterBumpEpoch', async cluster => {
assert.equal(
typeof await cluster.getSlotMaster(0).client.clusterBumpEpoch(),
'string'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER COUNT-FAILURE-REPORTS', () => {
);
});

testUtils.testWithCluster('cluster.clusterCountFailureReports', async cluster => {
testUtils.testWithCluster('clusterNode.clusterCountFailureReports', async cluster => {
const id: string = await cluster.getSlotMaster(0).client.clusterMyId();
assert.equal(
await cluster.getSlotMaster(0).client.clusterCountFailureReports(id),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER COUNTKEYSINSLOT', () => {
);
});

testUtils.testWithCluster('cluster.clusterInfo', async cluster => {
testUtils.testWithCluster('clusterNode.clusterInfo', async cluster => {
assert.equal(
typeof await cluster.getSlotMaster(0).client.clusterCountKeysInSlot(1),
'number'
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/commands/CLUSTER_INFO.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('CLUSTER INFO', () => {
);
});

testUtils.testWithCluster('cluster.clusterInfo', async cluster => {
testUtils.testWithCluster('clusterNode.clusterInfo', async cluster => {
assert.notEqual(
await cluster.getSlotMaster(0).client.clusterInfo(),
null
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/commands/CLUSTER_MYID.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER MYID', () => {
);
});

testUtils.testWithCluster('cluster.clusterMyId', async cluster => {
testUtils.testWithCluster('clusterNode.clusterMyId', async cluster => {
assert.notEqual(
await cluster.getSlotMaster(0).client.clusterMyId(),
null
Expand Down
2 changes: 1 addition & 1 deletion packages/client/lib/commands/CLUSTER_SAVECONFIG.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER SAVECONFIG', () => {
);
});

testUtils.testWithCluster('cluster.clusterSaveConfig', async cluster => {
testUtils.testWithCluster('clusterNode.clusterSaveConfig', async cluster => {
assert.equal(
await cluster.getSlotMaster(0).client.clusterSaveConfig(),
'OK'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('CLUSTER SET-CONFIG-EPOCH', () => {
);
});

testUtils.testWithCluster('cluster.clusterSetConfigEpoch', async cluster => {
testUtils.testWithCluster('clusterNode.clusterSetConfigEpoch', async cluster => {
try {
assert.equal(
await cluster.getSlotMaster(0).client.clusterSetConfigEpoch(1),
Expand Down