Skip to content

Commit

Permalink
fix version server
Browse files Browse the repository at this point in the history
Signed-off-by: Adar Ovadia <adarov@amazon.com>
  • Loading branch information
Adar Ovadia committed Sep 18, 2024
1 parent 43fc2e5 commit f80f846
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions utils/release-candidate-testing/node/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down Expand Up @@ -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");
Expand Down

0 comments on commit f80f846

Please sign in to comment.