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 <guojiannan1101@gmail.com>
  • Loading branch information
guoger committed Oct 22, 2019
1 parent f71cfc7 commit 3d49575
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orderer/consensus/etcdraft/chain_test.go
Expand Up @@ -592,7 +592,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 3d49575

Please sign in to comment.