From f80f8461dbc907031cd1784b7c671122b6566bf4 Mon Sep 17 00:00:00 2001 From: Adar Ovadia Date: Wed, 18 Sep 2024 09:01:31 +0000 Subject: [PATCH] fix version server Signed-off-by: Adar Ovadia --- utils/release-candidate-testing/node/index.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/utils/release-candidate-testing/node/index.js b/utils/release-candidate-testing/node/index.js index 61faa56d96..c93d5a74ec 100644 --- a/utils/release-candidate-testing/node/index.js +++ b/utils/release-candidate-testing/node/index.js @@ -63,7 +63,10 @@ async function closeClientAndCluster(client, Cluster) { } async function clusterTests() { - const getServerVersion = new Promise((resolve)=>resolve("255.255.255")); + const getServerVersion = async (addresses, clusterMode) => { + // General version for those tests + return "255.255.255"; + }; try { console.log("Testing cluster"); console.log("Creating cluster"); @@ -95,7 +98,10 @@ async function clusterTests() { } async function standaloneTests() { - const getServerVersion = new Promise((resolve)=>resolve("255.255.255")); + const getServerVersion = async (addresses, clusterMode) => { + // General version for those tests + return "255.255.255"; + }; try { console.log("Testing standalone Cluster") console.log("Creating Cluster");