From 5ed697d536fca88e25e3c162c6edfffc09a1630e Mon Sep 17 00:00:00 2001 From: Rueian Date: Thu, 11 Jul 2024 00:18:13 +0800 Subject: [PATCH] test: dragonflydb 1.20.1 with client side caching (#585) Signed-off-by: Rueian --- docker-compose.yml | 2 +- redis_test.go | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 7e71b78b..429293bc 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,7 +18,7 @@ services: ports: - "6344:6379" dragonflydb: - image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.4.0 + image: docker.dragonflydb.io/dragonflydb/dragonfly:v1.20.1 ports: - "6333:6379" kvrocks: diff --git a/redis_test.go b/redis_test.go index 472dd54c..f531593f 100644 --- a/redis_test.go +++ b/redis_test.go @@ -956,13 +956,13 @@ func TestDragonflyDBSingleClientIntegration(t *testing.T) { client, err := NewClient(ClientOption{ InitAddress: []string{"127.0.0.1:6333"}, ConnWriteTimeout: 180 * time.Second, - DisableCache: true, }) if err != nil { t.Fatal(err) } - run(t, client, testSETGETRESP2, testMultiSETGETRESP2, testMultiSETGETRESP2Helpers, testPubSub, testLua) + run(t, client, testSETGETCSC, testMultiSETGETCSC, testMultiSETGETCSCHelpers, testMultiExec, testBlockingZPOP, testBlockingXREAD, testPubSub, testLua) + run(t, client, testFlush) client.Close() }