1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

some cleanups

This commit is contained in:
Leibale
2024-02-05 11:18:27 -05:00
parent 8f3a276509
commit 8340a9e830
21 changed files with 593 additions and 1341 deletions

View File

@@ -460,7 +460,9 @@ export default class RedisClient<
})
.on('reconnecting', () => this.emit('reconnecting'))
.on('drain', () => this.#maybeScheduleWrite())
.on('end', () => this.emit('end'));
.on('end', () => {
console.log('socket on end, emitting end', this.emit('end'));
});
}
#pingTimer?: NodeJS.Timeout;

View File

@@ -88,7 +88,7 @@ async function steadyState(frame: SentinelFramework) {
}
["redis-sentinel-test-password", undefined].forEach(function (password) {
describe.only(`Sentinel - password = ${password}`, () => {
describe.skip(`Sentinel - password = ${password}`, () => {
const config: RedisSentinelConfig = { sentinelName: "test", numberOfNodes: 3, password: password };
const frame = new SentinelFramework(config);
let tracer = new Array<string>();

View File

@@ -1,4 +1,5 @@
import { RedisModules } from '@redis/client';
import { RedisModules } from '../RESP/types';
import sentinel from './commands';
export default {