Skip to content

Commit 934f5e2

Browse files
committed
Update
1 parent 618a159 commit 934f5e2

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/redis-client/RedisClient.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ class RedisClient {
111111
if (credentials?.sentinel_nodes?.length > 0) {
112112
return this.createSentinelClient(credentials, options, redisOptions);
113113
}
114-
115114
const socket = {
116115
host: credentials?.hostname ?? "127.0.0.1",
117116
tls: !!credentials?.tls,

test/redis-client/redis-client.test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ describe("Redis Client", () => {
164164
});
165165
expect(redisClient.isSentinel).toBe(true);
166166
expect(redisClient.isCluster).toBe(false);
167+
await redisClient.closeMainClient();
167168
});
168169

169170
it.skip("prefers master_name field over URI fragment", async () => {

0 commit comments

Comments
 (0)