From 155120dcdf2639059fbcb0c5fce4a15f5169635f Mon Sep 17 00:00:00 2001 From: Will Lahti Date: Thu, 27 Dec 2018 12:49:17 -0500 Subject: [PATCH] Increase timeout for TestHaltBeforeTimeout Testing in CI. Will update commit message if this fixes the flake. FAB-13375 Change-Id: I3bad8747cd2c5d47f79ceddaf78f1289c35f7fe1 Signed-off-by: Will Lahti (cherry picked from commit 58429827b6fa4300c37dd7b7813c9c44c11aee57) --- orderer/consensus/solo/consensus_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orderer/consensus/solo/consensus_test.go b/orderer/consensus/solo/consensus_test.go index 3c6bccb05ca..26be262aaff 100644 --- a/orderer/consensus/solo/consensus_test.go +++ b/orderer/consensus/solo/consensus_test.go @@ -53,7 +53,7 @@ func goWithWait(target func()) *waitableGo { // This test checks that if consenter is halted before a timer fires, nothing is actually written. func TestHaltBeforeTimeout(t *testing.T) { - batchTimeout, _ := time.ParseDuration("1ms") + batchTimeout, _ := time.ParseDuration("10ms") support := &mockmultichannel.ConsenterSupport{ Blocks: make(chan *cb.Block), BlockCutterVal: mockblockcutter.NewReceiver(),