Skip to content
Snippets Groups Projects
Commit 5f711bf3 authored by Jonah Husson's avatar Jonah Husson
Browse files

Fix tests

parent ece7755b
Branches
Tags
2 merge requests!48Release,!46No registration
...@@ -10,10 +10,12 @@ package node ...@@ -10,10 +10,12 @@ package node
import ( import (
"gitlab.com/elixxir/comms/mixmessages" "gitlab.com/elixxir/comms/mixmessages"
"gitlab.com/elixxir/crypto/cyclic" "gitlab.com/elixxir/crypto/cyclic"
"gitlab.com/elixxir/crypto/fastRNG"
"gitlab.com/elixxir/primitives/states" "gitlab.com/elixxir/primitives/states"
"gitlab.com/elixxir/server/internal/phase" "gitlab.com/elixxir/server/internal/phase"
"gitlab.com/elixxir/server/io" "gitlab.com/elixxir/server/io"
"gitlab.com/xx_network/comms/connect" "gitlab.com/xx_network/comms/connect"
"gitlab.com/xx_network/crypto/csprng"
"gitlab.com/xx_network/crypto/large" "gitlab.com/xx_network/crypto/large"
"gitlab.com/elixxir/primitives/current" "gitlab.com/elixxir/primitives/current"
...@@ -57,6 +59,7 @@ func setupStartNode(t *testing.T) *internal.Instance { ...@@ -57,6 +59,7 @@ func setupStartNode(t *testing.T) *internal.Instance {
// We need to create a server.Definition so we can create a server instance. // We need to create a server.Definition so we can create a server instance.
def := internal.Definition{ def := internal.Definition{
RngStreamGen: fastRNG.NewStreamGenerator(8, 8, csprng.NewSystemRNG),
ID: id.NewIdFromUInt(0, id.Node, t), ID: id.NewIdFromUInt(0, id.Node, t),
ResourceMonitor: &measure.ResourceMonitor{}, ResourceMonitor: &measure.ResourceMonitor{},
FullNDF: testNdf, FullNDF: testNdf,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment