aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.circleci/config.yml2
-rw-r--r--core/lattice-data_test.go4
-rw-r--r--core/total-ordering_test.go2
3 files changed, 4 insertions, 4 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml
index dba5386..6ac301b 100644
--- a/.circleci/config.yml
+++ b/.circleci/config.yml
@@ -2,7 +2,7 @@ version: 2
jobs:
build:
docker:
- - image: circleci/golang:1.10
+ - image: circleci/golang:1.11
working_directory: /go/src/github.com/dexon-foundation/dexon-consensus
diff --git a/core/lattice-data_test.go b/core/lattice-data_test.go
index e939c81..8d37d21 100644
--- a/core/lattice-data_test.go
+++ b/core/lattice-data_test.go
@@ -345,8 +345,8 @@ func (s *LatticeDataTestSuite) TestSanityCheck() {
func (s *LatticeDataTestSuite) TestRandomlyGeneratedBlocks() {
var (
- chainNum uint32 = 19
- repeat = 20
+ chainNum uint32 = 16
+ repeat = 10
delivered []*types.Block
err error
req = s.Require()
diff --git a/core/total-ordering_test.go b/core/total-ordering_test.go
index 77bf21a..23da4e1 100644
--- a/core/total-ordering_test.go
+++ b/core/total-ordering_test.go
@@ -977,7 +977,7 @@ func (s *TotalOrderingTestSuite) TestRandomlyGeneratedBlocks() {
}
ackingCountGenerators := []func() int{
- nil, // Acking frequency with normal distribution.
+ nil, // Acking frequency with normal distribution.
test.MaxAckingCountGenerator(0), // Low acking frequency.
test.MaxAckingCountGenerator(numChains), // High acking frequency.
}