|
@@ -26,7 +26,7 @@ if (process.env.NODE_ENV == 'test') {
|
|
|
opts = {
|
|
|
port: port,
|
|
|
host: host,
|
|
|
- // password: password
|
|
|
+ // password: passwordd
|
|
|
}
|
|
|
// var new_opts = "redis://"+password+"@"+host+":"+port+"/0"
|
|
|
// "redis://:authpassword@127.0.0.1:6380/4"
|
|
@@ -84,7 +84,7 @@ async function readRedis(key) {
|
|
|
console.log("redis_get=", result); // Prints "value"
|
|
|
resolve(result);
|
|
|
}).catch(e => {
|
|
|
- console.log("readRedis key error=", key, e); // Prints "value"
|
|
|
+ console.log("readRedis key error=", key, e); // Prints "error"
|
|
|
});
|
|
|
})
|
|
|
}
|