diff --git a/service/share/testing.go b/service/share/testing.go index 312b838ce0..f153ba4142 100644 --- a/service/share/testing.go +++ b/service/share/testing.go @@ -135,6 +135,8 @@ func (dn *dagNet) Node() *node { bitswap.EngineBlockstoreWorkerCount(1), // otherwise it spawns 128 routines which is too much for tests bitswap.EngineTaskWorkerCount(2), bitswap.TaskWorkerCount(2), + bitswap.SetSimulateDontHavesOnTimeout(false), + bitswap.SetSendDontHaves(false), ) nd := &node{BlockService: blockservice.New(bstore, bs), Host: hst} dn.nodes = append(dn.nodes, nd)