aboutsummaryrefslogtreecommitdiffstats
path: root/core/total-ordering-syncer_test.go
diff options
context:
space:
mode:
authorJimmy Hu <jimmy.hu@dexon.org>2018-11-02 13:42:54 +0800
committerGitHub <noreply@github.com>2018-11-02 13:42:54 +0800
commitbd5e5b4c79d990d65823b3630c0f76d21af9b52d (patch)
treec32f1ef5f20d129758785efb9f8e20c78a0de1bb /core/total-ordering-syncer_test.go
parentf521279b0d3d33e072d0dc439288fa16cbbf34d3 (diff)
downloaddexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.gz
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.bz2
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.lz
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.xz
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.tar.zst
dexon-consensus-bd5e5b4c79d990d65823b3630c0f76d21af9b52d.zip
core: Remove max block interval (#287)
Diffstat (limited to 'core/total-ordering-syncer_test.go')
-rw-r--r--core/total-ordering-syncer_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/total-ordering-syncer_test.go b/core/total-ordering-syncer_test.go
index fb61c6c..e20b438 100644
--- a/core/total-ordering-syncer_test.go
+++ b/core/total-ordering-syncer_test.go
@@ -52,8 +52,7 @@ func (s *TotalOrderingSyncerTestSuite) genDeliverySet(numChains uint32) (
gen := test.NewBlocksGenerator(&test.BlocksGeneratorConfig{
NumChains: numChains,
- MinBlockTimeInterval: 100 * time.Millisecond,
- MaxBlockTimeInterval: 500 * time.Millisecond,
+ MinBlockTimeInterval: 250 * time.Millisecond,
}, nil, hashBlock)
db, err := blockdb.NewMemBackedBlockDB()