Update go-redis/redis to v9. (#1847)

* Update go-redis/redis to v9.
- And updated redislock, testify, ginko and gomega have also been updated.
- Renamed the option `IdleTimeout` to `ConnMaxIdleTime` because of https://github.com/go-redis/redis/blob/517938a6b083b8d4ffbc9d46c0bd9df19f10ffaf/CHANGELOG.md

* Update CHANGELOG.md

* Dropping dot import of the types since they created aliases now

* fixing some error messages to make tests happy

* updating more error messages that were changed to make tests happy

* reverting error messages

Co-authored-by: Muhammad Arham <marham@i2cinc.com>
This commit is contained in:
Muhammad Arham
2022-10-24 16:41:06 +01:00
committed by GitHub
co-authored by Muhammad Arham
parent 5b5894af07
commit 1e21a56f99
9 changed files with 67 additions and 66 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ import (
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
. "github.com/onsi/gomega/types"
"github.com/onsi/gomega/types"
)
const (
@@ -113,7 +113,7 @@ var _ = Describe("HTPasswd Suite", func() {
testText string
remove bool
expectedLen int
expectedGomegaMatcher GomegaMatcher
expectedGomegaMatcher types.GomegaMatcher
}
assertHtpasswdMapUpdate := func(hu htpasswdUpdate) {