7 Commits

Author SHA1 Message Date
Steven Allen
1f5b81fb61
test: use the regular libp2p host (#565)
This removes dependencies on swarm/testing and the blank host.

1. swarm/testing really shouldn't be used at all except for internal
libp2p stuff.
2. The blank host should only be used in _very_ special cases (autonat,
mostly).
2024-07-11 10:32:18 +00:00
Marten Seemann
4f56e8f0a7
update go-libp2p to v0.22.0 (#498)
* update go-libp2p to v0.22.0

* skip TestGossipsubConnTagMessageDeliveries
2022-08-26 02:45:41 -07:00
Ian Davis
2efd313b83
cleanup: fix vet and staticcheck failures (#435)
* cleanup: fix vet failures and most staticcheck failures

* Fix remaining staticcheck failures

* Give test goroutines chance to exit early when context is canceled
2021-07-22 15:27:32 -07:00
vyzo
ae4bc44c12 relax message delivery requirements for randomsub tests
travis, travis, why are you so annoying when it comes to test reliability?
2020-04-23 21:36:48 +03:00
vyzo
2c7e59ea03 make randomsub test reliable 2020-04-23 21:36:48 +03:00
vyzo
c353348592 add network size argument to randomsub
so that sqrt propagation math actually works
2020-04-23 21:36:48 +03:00
vyzo
d25506dd2b add randomsub test 2020-04-23 21:36:48 +03:00