nim-libp2p/tests
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
..
pubsub Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
nim.cfg Tests are now testing with --threads:on. 2019-11-06 13:01:16 +02:00
testbufferstream.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testcid.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testconnection.nim connection closing tests 2020-04-07 12:16:59 -06:00
testcrypto.nim Noise (#90) 2020-03-17 13:30:01 +01:00
testdaemon.nim Disable unreliable provide cid test. 2020-03-24 10:05:11 +02:00
testecnist.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
tested25519.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testidentify.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testinterop.nim Fix/misc (#116) 2020-03-29 08:28:48 -06:00
testmplex.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testmultiaddress.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testmultibase.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testmultihash.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testmultistream.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testnative.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testnoise.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testpeer.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
testpeerinfo.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testrsa.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testsecp256k1.nim secp: use upstream secp convenience api (#141) 2020-04-17 12:51:13 +02:00
testswitch.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testtransport.nim Add chronos trackers and used them to sanitize resource disposal (#131) 2020-04-21 10:24:42 +09:00
testvarint.nim Signed variable integers fixes. (#96) 2020-03-06 20:19:43 +01:00