Skip to content

Commit

Permalink
Cleanup ipcs Socket test (#2257)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Laine authored Nov 3, 2023
1 parent 437ade8 commit e4cb2cd
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ipcs/socket/socket_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ import (
"testing"

"github.com/stretchr/testify/require"

"github.com/ava-labs/avalanchego/utils/logging"
)

func TestSocketSendAndReceive(t *testing.T) {
Expand All @@ -21,7 +23,7 @@ func TestSocketSendAndReceive(t *testing.T) {
)

// Create socket and client; wait for client to connect
socket := NewSocket(socketName, nil)
socket := NewSocket(socketName, logging.NoLog{})
socket.accept, connCh = newTestAcceptFn(t)
require.NoError(socket.Listen())

Expand Down

0 comments on commit e4cb2cd

Please sign in to comment.