Skip to content

Commit

Permalink
Increase timeout for TestHaltBeforeTimeout
Browse files Browse the repository at this point in the history
Testing in CI. Will update commit message if
this fixes the flake.

FAB-13375

Change-Id: I3bad8747cd2c5d47f79ceddaf78f1289c35f7fe1
Signed-off-by: Will Lahti <wtlahti@us.ibm.com>
(cherry picked from commit 5842982)
  • Loading branch information
wlahti authored and mastersingh24 committed Jan 2, 2019
1 parent 7d09ca6 commit 155120d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orderer/consensus/solo/consensus_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 155120d

Please sign in to comment.