diff --git a/node/grpc/server_test.go b/node/grpc/server_test.go index d6482d2811..21608b68d7 100644 --- a/node/grpc/server_test.go +++ b/node/grpc/server_test.go @@ -3,6 +3,7 @@ package grpc_test import ( "context" "fmt" + "github.com/docker/go-units" "net" "os" "runtime" @@ -88,6 +89,7 @@ func makeConfig(t *testing.T) *node.Config { NumBatchValidators: runtime.GOMAXPROCS(0), EnableV2: false, DisableDispersalAuthentication: true, + RelayMaxMessageSize: units.GiB, } } diff --git a/node/node_test.go b/node/node_test.go index c8898ac910..7c5ba6cec3 100644 --- a/node/node_test.go +++ b/node/node_test.go @@ -3,6 +3,7 @@ package node_test import ( "context" "errors" + "github.com/docker/go-units" "os" "runtime" "testing" @@ -56,6 +57,7 @@ func newComponents(t *testing.T, operatorID [32]byte) *components { EnableNodeApi: false, EnableMetrics: false, RegisterNodeAtStart: false, + RelayMaxMessageSize: units.GiB, } loggerConfig := common.DefaultLoggerConfig() logger, err := common.NewLogger(loggerConfig) diff --git a/test/integration_test.go b/test/integration_test.go index 5387604f99..1299fec53a 100644 --- a/test/integration_test.go +++ b/test/integration_test.go @@ -6,6 +6,7 @@ import ( "encoding/hex" "errors" "fmt" + "github.com/docker/go-units" "log" "math" "math/big" @@ -367,6 +368,7 @@ func mustMakeOperators(t *testing.T, cst *coremock.ChainDataMock, logger logging QuorumIDList: registeredQuorums, DispersalAuthenticationKeyCacheSize: 1024, DisableDispersalAuthentication: false, + RelayMaxMessageSize: units.GiB, } // creating a new instance of encoder instead of sharing enc because enc is not thread safe