Skip to content

Commit

Permalink
Fix Raft UT flake by prolong eventual timeout
Browse files Browse the repository at this point in the history
FAB-16903 #done

Change-Id: Ie39bcdbbc4f3951ac814d6f00d7a275e901bc8b6
Signed-off-by: Jay Guo <[email protected]>
  • Loading branch information
guoger committed Oct 22, 2019
1 parent 4b786b4 commit 3ebb063
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orderer/consensus/etcdraft/chain_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ var _ = Describe("Chain", func() {
Consistently(support.WriteConfigBlockCallCount).Should(Equal(0))

clock.Increment(30 * time.Minute)
Eventually(support.WriteBlockCallCount).Should(Equal(1))
Eventually(support.WriteBlockCallCount, LongEventualTimeout).Should(Equal(1))
})
})
})
Expand Down

0 comments on commit 3ebb063

Please sign in to comment.