nim-libp2p-experimental/tests/pubsub
Giovanni Petrantoni 4c6a123d31
Add chronos trackers and used them to sanitize resource disposal (#131)
* Add chronos trackers and used them to sanitize resource disposal

* Chronos trackers for transport tests wip

* No more chronos leaks in testtransport

* Make tcp transport and test more robust when closing

* Test async leaking tracking wip

* Fix a regression in wire connect

* Add chronos trackers to more tests and sanitize resource closure

* Wip fixing floodsub tests

* Floodsub wip

* Made floodsub basically deterministic, hit a nim bug with captures tho

* Wrap up floodsub tests refactor

* Wrapping up

* Add allFuturesThrowing utility

* Fix missing allFuturesThrowing in noise tests!

* Make tests green

* attempt fixing gossipsub failing cases

* Make sure to check also fanout in waitSub

* More verbose traces

* Gossipsub test improvments

* Refactor TcpTransport remove asyncCheck

* Add Connection trackers

* Add stricter connection tracking, wip mplex fix

* More asynccheck removal, in order to avoid connection leaks

* bump chronicles requirement

* Enable tracker dump to check CI output

* Wait for more futures in testmplex

* Remove tracker dump messages

* add tryAndWarn utility, fix mplex issue with go interop

* All allFuturesThrowing to directchat too

* make sure to cleanup on transport close
2020-04-21 10:24:42 +09:00
..
testfloodsub.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testgossipsub.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testmcache.nim PubSub (Gossip & Flood) Implementation (#36) 2019-12-05 20:16:18 -06:00
testpubsub.nim revert tests order back 2020-02-16 11:31:35 -06:00
utils.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00