File tree Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Expand file tree Collapse file tree 4 files changed +11
-7
lines changed Original file line number Diff line number Diff line change
1
+ ## v3.2.0 (2023-09-21)
2
+
3
+ - Update go-redis library to v9.2.0
4
+
1
5
## v3.1.1 (2023-06-24)
2
6
3
7
- Fixed connection selection error for HAConnFactory in MGet/MGetWithGD
Original file line number Diff line number Diff line change 1
1
module github.com/bitleak/go-redis-pool/v3
2
2
3
- go 1.19
3
+ go 1.20
4
4
5
5
require (
6
6
github.com/onsi/ginkgo v1.16.5
7
7
github.com/onsi/gomega v1.19.0
8
- github.com/redis/go-redis/v9 v9.0.3
8
+ github.com/redis/go-redis/v9 v9.2.0
9
9
github.com/zeebo/xxh3 v1.0.2
10
10
)
11
11
Original file line number Diff line number Diff line change 1
- github.com/bsm/ginkgo/v2 v2.7 .0 h1:ItPMPH90RbmZJt5GtkcNvIRuGEdwlBItdNVoyzaNQao =
2
- github.com/bsm/gomega v1.26.0 h1:LhQm+AFcgV2M0WyKroMASzAzCAJVpAxQXv4SaI9a69Y =
1
+ github.com/bsm/ginkgo/v2 v2.12 .0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs =
2
+ github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA =
3
3
github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44 =
4
4
github.com/cespare/xxhash/v2 v2.2.0 /go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs =
5
5
github.com/davecgh/go-spew v1.1.0 /go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38 =
@@ -37,8 +37,8 @@ github.com/onsi/gomega v1.10.1/go.mod h1:iN09h71vgCQne3DLsj+A5owkum+a2tYe+TOCB1y
37
37
github.com/onsi/gomega v1.19.0 h1:4ieX6qQjPP/BfC3mpsAtIGGlxTWPeA3Inl/7DtXw1tw =
38
38
github.com/onsi/gomega v1.19.0 /go.mod h1:LY+I3pBVzYsTBU1AnDwOSxaYi9WoWiqgwooUqq9yPro =
39
39
github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
40
- github.com/redis/go-redis/v9 v9.0.3 h1:+7mmR26M0IvyLxGZUHxu4GiBkJkVDid0Un+j4ScYu4k =
41
- github.com/redis/go-redis/v9 v9.0.3 /go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk =
40
+ github.com/redis/go-redis/v9 v9.2.0 h1:zwMdX0A4eVzse46YN18QhuDiM4uf3JmkOB4VZrdt5uI =
41
+ github.com/redis/go-redis/v9 v9.2.0 /go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M =
42
42
github.com/stretchr/objx v0.1.0 /go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME =
43
43
github.com/stretchr/testify v1.5.1 /go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA =
44
44
github.com/yuin/goldmark v1.2.1 /go.mod h1:3hX8gzYuyVAZsxl0MRgGTJEmQBFcNTphYh9decYSb74 =
Original file line number Diff line number Diff line change @@ -1097,7 +1097,7 @@ var _ = Describe("Pool", func() {
1097
1097
Expect (err ).NotTo (HaveOccurred ())
1098
1098
Expect (len (dist )).To (Equal (1 ))
1099
1099
Expect (dist [0 ].Member ).To (Equal (geo1 .Name ))
1100
- Expect (dist [0 ].Score ).To (Equal ( float64 ( 0 ) ))
1100
+ Expect (dist [0 ].Score ).To (BeNumerically ( "<=" , 0.01 ))
1101
1101
}
1102
1102
})
1103
1103
You can’t perform that action at this time.
0 commit comments