aboutsummaryrefslogtreecommitdiffstats
path: root/integration_test
diff options
context:
space:
mode:
Diffstat (limited to 'integration_test')
-rw-r--r--integration_test/non-byzantine_test.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/integration_test/non-byzantine_test.go b/integration_test/non-byzantine_test.go
index 34c6be1..df08b97 100644
--- a/integration_test/non-byzantine_test.go
+++ b/integration_test/non-byzantine_test.go
@@ -32,6 +32,10 @@ type NonByzantineTestSuite struct {
}
func (s *NonByzantineTestSuite) TestNonByzantine() {
+ numNodes := 25
+ if testing.Short() {
+ numNodes = 7
+ }
var (
networkLatency = &test.NormalLatencyModel{
Sigma: 20,
@@ -47,7 +51,7 @@ func (s *NonByzantineTestSuite) TestNonByzantine() {
)
apps, dbs, nodes, err := PrepareNodes(
- 25, networkLatency, proposingLatency)
+ numNodes, networkLatency, proposingLatency)
req.Nil(err)
now := time.Now().UTC()
sch := test.NewScheduler(test.NewStopByConfirmedBlocks(50, apps, dbs))