Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #34

Merged
merged 3 commits into from
Jun 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@ require (
gopkg.in/guregu/null.v3 v3.3.0
)

// To facilitate the integration of the extension in the k6 core codebase
// we need to use the same version of the dependencies as k6.
replace github.com/spf13/afero => github.com/spf13/afero v1.1.2

require (
github.com/andybalholm/brotli v1.0.5 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
Expand Down
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
2 changes: 1 addition & 1 deletion redis/stub_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ func (rs *StubServer) Start(secure bool, clientCert []byte) error {

// The redis-cli will always start a session by sending the
// COMMAND message.
rs.RegisterCommandHandler("COMMAND", func(c *Connection, args []string) {
rs.RegisterCommandHandler("COMMAND", func(c *Connection, _ []string) {
c.WriteArray("OK")
})

Expand Down
Loading