aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test/consensus_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test/consensus_test.go')
-rw-r--r--integration_test/consensus_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/integration_test/consensus_test.go b/integration_test/consensus_test.go
index 52f7f9f..356efb1 100644
--- a/integration_test/consensus_test.go
+++ b/integration_test/consensus_test.go
@@ -109,10 +109,12 @@ func (s *ConsensusTestSuite) TestSimple() {
req.NoError(err)
// Setup seed governance instance. Give a short latency to make this test
// run faster.
- seedGov, err := test.NewGovernance(pubKeys, 30*time.Millisecond)
+ seedGov, err := test.NewGovernance(
+ pubKeys, 30*time.Millisecond, core.ConfigRoundShift)
req.NoError(err)
req.NoError(seedGov.State().RequestChange(
test.StateChangeRoundInterval, 25*time.Second))
+ seedGov.NotifyRoundHeight(0, 0)
// A short round interval.
nodes := s.setupNodes(dMoment, prvKeys, seedGov)
for _, n := range nodes {