mirror of
https://github.com/logos-messaging/go-libp2p-pubsub.git
synced 2026-01-07 15:23:08 +00:00
try to deflake MeshFailure test; travis managed to fail on this
apparently creating the score object and calling refreshScores can take 500ms on travis!
This commit is contained in:
parent
53c2662613
commit
076c6c1ab5
@ -222,7 +222,7 @@ func TestScoreMeshMessageDeliveries(t *testing.T) {
|
|||||||
topicScoreParams := &TopicScoreParams{
|
topicScoreParams := &TopicScoreParams{
|
||||||
TopicWeight: 1,
|
TopicWeight: 1,
|
||||||
MeshMessageDeliveriesWeight: -1,
|
MeshMessageDeliveriesWeight: -1,
|
||||||
MeshMessageDeliveriesActivation: 500 * time.Millisecond,
|
MeshMessageDeliveriesActivation: time.Second,
|
||||||
MeshMessageDeliveriesWindow: 10 * time.Millisecond,
|
MeshMessageDeliveriesWindow: 10 * time.Millisecond,
|
||||||
MeshMessageDeliveriesThreshold: 20,
|
MeshMessageDeliveriesThreshold: 20,
|
||||||
MeshMessageDeliveriesCap: 100,
|
MeshMessageDeliveriesCap: 100,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user