Skip to content

Commit 155120d

Browse files
wlahtimastersingh24
authored andcommitted
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 <wtlahti@us.ibm.com> (cherry picked from commit 5842982)
1 parent 7d09ca6 commit 155120d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

orderer/consensus/solo/consensus_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func goWithWait(target func()) *waitableGo {
5353

5454
// This test checks that if consenter is halted before a timer fires, nothing is actually written.
5555
func TestHaltBeforeTimeout(t *testing.T) {
56-
batchTimeout, _ := time.ParseDuration("1ms")
56+
batchTimeout, _ := time.ParseDuration("10ms")
5757
support := &mockmultichannel.ConsenterSupport{
5858
Blocks: make(chan *cb.Block),
5959
BlockCutterVal: mockblockcutter.NewReceiver(),

0 commit comments

Comments
 (0)