Skip to content

Commit

Permalink
test: dragonflydb 1.20.1 with client side caching (redis#585)
Browse files Browse the repository at this point in the history
Signed-off-by: Rueian <rueiancsie@gmail.com>
  • Loading branch information
rueian authored Jul 10, 2024
1 parent 729b849 commit 5ed697d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions redis_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
}
Expand Down

0 comments on commit 5ed697d

Please sign in to comment.