From 42b5cef555571d1b185cd2f65031a72181455288 Mon Sep 17 00:00:00 2001 From: charlie <3140647@qq.com> Date: Thu, 12 Oct 2023 15:00:23 +0800 Subject: [PATCH] u --- bloom/boom_test.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bloom/boom_test.go b/bloom/boom_test.go index 3dd47a0..abd8dfe 100644 --- a/bloom/boom_test.go +++ b/bloom/boom_test.go @@ -8,8 +8,8 @@ import ( "github.com/charlienet/go-mixed/bloom" "github.com/charlienet/go-mixed/rand" + "github.com/charlienet/go-mixed/redis" "github.com/charlienet/go-mixed/sys" - "github.com/redis/go-redis/v9" "github.com/stretchr/testify/assert" ) @@ -49,8 +49,9 @@ func TestOptimize(t *testing.T) { } func TestRedis(t *testing.T) { - client := redis.NewClient(&redis.Options{ - Addr: "192.168.2.222:6379", + + client := redis.New(&redis.ReidsOption{ + Addrs: []string{"192.168.2.222:6379"}, Password: "123456", })