aboutsummaryrefslogtreecommitdiffstats
path: root/core/consensus_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'core/consensus_test.go')
-rw-r--r--core/consensus_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/consensus_test.go b/core/consensus_test.go
index 7d4d6b4..dab5440 100644
--- a/core/consensus_test.go
+++ b/core/consensus_test.go
@@ -420,6 +420,9 @@ func (s *ConsensusTestSuite) TestSimpleDeliverBlock() {
req.Equal(t, app.Delivered[b11.Hash].ConsensusTime)
}
for _, obj := range objs {
+ if nb, ok := obj.con.app.(*nonBlocking); ok {
+ nb.wait()
+ }
verify(obj.app)
}
}