aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test')
-rw-r--r--integration_test/byzantine_test.go2
-rw-r--r--integration_test/consensus_test.go6
2 files changed, 4 insertions, 4 deletions
diff --git a/integration_test/byzantine_test.go b/integration_test/byzantine_test.go
index 1e5a2a9..c90c9a1 100644
--- a/integration_test/byzantine_test.go
+++ b/integration_test/byzantine_test.go
@@ -139,7 +139,7 @@ func (s *ByzantineTestSuite) TestOneSlowNodeOneDeadNode() {
// run faster.
lambda := 100 * time.Millisecond
seedGov, err := test.NewGovernance(
- test.NewState(
+ test.NewState(core.DKGDelayRound,
pubKeys, lambda, &common.NullLogger{}, true),
core.ConfigRoundShift)
req.NoError(err)
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go
index b469859..4f916c3 100644
--- a/integration_test/consensus_test.go
+++ b/integration_test/consensus_test.go
@@ -210,7 +210,7 @@ func (s *ConsensusTestSuite) TestSimple() {
// Setup seed governance instance. Give a short latency to make this test
// run faster.
seedGov, err := test.NewGovernance(
- test.NewState(
+ test.NewState(core.DKGDelayRound,
pubKeys, 100*time.Millisecond, &common.NullLogger{}, true),
core.ConfigRoundShift)
req.NoError(err)
@@ -255,7 +255,7 @@ func (s *ConsensusTestSuite) TestSetSizeChange() {
req.NoError(err)
// Setup seed governance instance.
seedGov, err := test.NewGovernance(
- test.NewState(pubKeys, 100*time.Millisecond, &common.NullLogger{}, true),
+ test.NewState(core.DKGDelayRound, pubKeys, 100*time.Millisecond, &common.NullLogger{}, true),
core.ConfigRoundShift)
req.NoError(err)
req.NoError(seedGov.State().RequestChange(
@@ -350,7 +350,7 @@ func (s *ConsensusTestSuite) TestSync() {
// Setup seed governance instance. Give a short latency to make this test
// run faster.
seedGov, err := test.NewGovernance(
- test.NewState(
+ test.NewState(core.DKGDelayRound,
pubKeys, 100*time.Millisecond, &common.NullLogger{}, true),
core.ConfigRoundShift)
req.NoError(err)