Skip to content

Commit a082117

Browse files
committed
[FAB-10105] fixed timeout in gossip test
pull interval must be greater than digestWaitTime + responseWaitTime according to core.yaml documentation. changed mock gossip pull interval value to 4s to make sure it meets the requirements. after the fix ran the test in a loop and haven't seen failures. Change-Id: Ied5e89cbd8f1d27afcaae93004e289c10b36fe7b Signed-off-by: nirro <nirro@il.ibm.com>
1 parent 9e9090e commit a082117

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gossip/gossip/gossip_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ func newGossipInstanceWithCustomMCS(portPrefix int, id int, maxMsgCount int, mcs
234234
MaxPropagationBurstSize: 20,
235235
PropagateIterations: 1,
236236
PropagatePeerNum: 3,
237-
PullInterval: time.Duration(2) * time.Second,
237+
PullInterval: time.Duration(4) * time.Second,
238238
PullPeerNum: 5,
239239
InternalEndpoint: fmt.Sprintf("localhost:%d", port),
240240
ExternalEndpoint: fmt.Sprintf("1.2.3.4:%d", port),

0 commit comments

Comments
 (0)