Skip to content

Commit

Permalink
Drop usage of lib.Group in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov committed Jun 6, 2024
1 parent b91517d commit a9f29e9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions redis/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2573,9 +2573,6 @@ func newTestSetup(t testing.TB) testSetup {
rt := goja.New()
rt.SetFieldNameMapper(common.FieldNameMapper{})

root, err := lib.NewGroup("", nil)
require.NoError(t, err)

samples := make(chan metrics.SampleContainer, 1000)

// We use self-signed TLS certificates for some tests, and need to disable
Expand All @@ -2585,7 +2582,6 @@ func newTestSetup(t testing.TB) testSetup {
tb.TLSClientConfig.InsecureSkipVerify = true

state := &lib.State{
Group: root,
Dialer: tb.Dialer,
Options: lib.Options{
SystemTags: metrics.NewSystemTagSet(
Expand Down

0 comments on commit a9f29e9

Please sign in to comment.