Skip to content

Commit ca625dc

Browse files
build(deps): Bump github.com/redis/go-redis/v9 from 9.14.1 to 9.17.2 (#2706)
Bumps [github.com/redis/go-redis/v9](https://github.com/redis/go-redis) from 9.14.1 to 9.17.2. - [Release notes](https://github.com/redis/go-redis/releases) - [Changelog](https://github.com/redis/go-redis/blob/v9.17.2/RELEASE-NOTES.md) - [Commits](redis/go-redis@v9.14.1...v9.17.2) --- updated-dependencies: - dependency-name: github.com/redis/go-redis/v9 dependency-version: 9.17.2 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
1 parent 39bae3d commit ca625dc

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ require (
6464
github.com/hashicorp/go-cleanhttp v0.5.2
6565
github.com/hashicorp/go-retryablehttp v0.7.8
6666
github.com/jmoiron/sqlx v1.4.0
67-
github.com/redis/go-redis/v9 v9.14.1
67+
github.com/redis/go-redis/v9 v9.17.2
6868
github.com/sassoftware/relic/v7 v7.6.2
6969
github.com/sigstore/protobuf-specs v0.5.0
7070
github.com/sigstore/sigstore/pkg/signature/kms/aws v1.10.3

go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -418,8 +418,8 @@ github.com/prometheus/common v0.66.1 h1:h5E0h5/Y8niHc5DlaLlWLArTQI7tMrsfQjHV+d9Z
418418
github.com/prometheus/common v0.66.1/go.mod h1:gcaUsgf3KfRSwHY4dIMXLPV0K/Wg1oZ8+SbZk/HH/dA=
419419
github.com/prometheus/procfs v0.16.1 h1:hZ15bTNuirocR6u0JZ6BAHHmwS1p8B4P6MRqxtzMyRg=
420420
github.com/prometheus/procfs v0.16.1/go.mod h1:teAbpZRB1iIAJYREa1LsoWUXykVXA1KlTmWl8x/U+Is=
421-
github.com/redis/go-redis/v9 v9.14.1 h1:nDCrEiJmfOWhD76xlaw+HXT0c9hfNWeXgl0vIRYSDvQ=
422-
github.com/redis/go-redis/v9 v9.14.1/go.mod h1:huWgSWd8mW6+m0VPhJjSSQ+d6Nh1VICQ6Q5lHuCH/Iw=
421+
github.com/redis/go-redis/v9 v9.17.2 h1:P2EGsA4qVIM3Pp+aPocCJ7DguDHhqrXNhVcEp4ViluI=
422+
github.com/redis/go-redis/v9 v9.17.2/go.mod h1:u410H11HMLoB+TP67dz8rL9s6QW2j76l0//kSOd3370=
423423
github.com/rogpeppe/go-internal v1.14.1 h1:UQB4HGPB6osV0SQTLymcB4TgvyWu6ZyliaW0tI/otEQ=
424424
github.com/rogpeppe/go-internal v1.14.1/go.mod h1:MaRKkUm5W0goXpeCfT7UZI6fk/L7L7so1lCWt35ZSgc=
425425
github.com/rs/cors v1.11.1 h1:eU3gRzXLRK57F5rKMGMZURNdIG4EoAmX8k94r9wXWHA=

pkg/indexstorage/redis/redis_test.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ func TestLookupIndices(t *testing.T) {
2929
keys := []string{"87c1b129fbadd7b6e9abc0a9ef7695436d767aece042bec198a97e949fcbe14c"}
3030
value := []string{"1e1f2c881ae0608ec77ebf88a75c66d3099113a7343238f2f7a0ebb91a4ed335"}
3131
redisClient, mock := redismock.NewClientMock()
32+
t.Cleanup(func() { redisClient.Close() })
3233
mock.Regexp().ExpectLRange(keys[0], 0, -1).SetVal(value)
3334

3435
isp := IndexStorageProvider{redisClient}
@@ -62,6 +63,7 @@ func TestWriteIndex(t *testing.T) {
6263
keys := []string{"87c1b129fbadd7b6e9abc0a9ef7695436d767aece042bec198a97e949fcbe14c"}
6364
value := []string{"1e1f2c881ae0608ec77ebf88a75c66d3099113a7343238f2f7a0ebb91a4ed335"}
6465
redisClient, mock := redismock.NewClientMock()
66+
t.Cleanup(func() { redisClient.Close() })
6567
mock.Regexp().ExpectLPush(keys[0], value).SetVal(1)
6668

6769
isp := IndexStorageProvider{redisClient}
@@ -96,5 +98,9 @@ func TestUninitializedClient(t *testing.T) {
9698
}
9799

98100
func TestMain(m *testing.M) {
99-
goleak.VerifyTestMain(m)
101+
goleak.VerifyTestMain(m,
102+
// Ignore goroutine leak from redismock's internal factory client.
103+
// See: https://github.com/go-redis/redismock/issues/102
104+
goleak.IgnoreTopFunction("github.com/redis/go-redis/v9/maintnotifications.(*CircuitBreakerManager).cleanupLoop"),
105+
)
100106
}

0 commit comments

Comments
 (0)