nim-libp2p/tests
Jacek Sieka 69abf5097d
handle a few exceptions (#170)
* handle a few exceptions

Some of these are maybe too aggressive, but in return, they'll log
their exception - more refactoring needed to sort this out - right now
we get crashes on unhandled exceptions of unknown origin

* during connection setup
* while closing channels
* while processing pubsubs

* catch exceptions that are raised and don't try to catch exceptions that are not raised

* propagate cancellederror

* one more

* more

* more

* make interop tests less fragile

* Raise expiration time in gossipsub fanout test for slow CI

Co-authored-by: Dmitriy Ryajov <dryajov@gmail.com>
Co-authored-by: Giovanni Petrantoni <giovanni@fragcolor.xyz>
2020-05-14 21:56:56 -06:00
..
pubsub Raise expiration time in gossipsub fanout test for slow CI 2020-05-15 11:01:33 +09:00
helpers.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
nim.cfg Tests are now testing with --threads:on. 2019-11-06 13:01:16 +02:00
testbufferstream.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06: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 removals (#159) 2020-05-06 18:31:47 +02:00
testdaemon.nim Disable unreliable provide cid test. 2020-03-24 10:05:11 +02:00
testecnist.nim Use Result construct in minasn1 (#144) 2020-04-23 14:10:20 +02:00
tested25519.nim Fix overflow problem. 2019-10-29 20:51:48 +02:00
testidentify.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
testinterop.nim handle a few exceptions (#170) 2020-05-14 21:56:56 -06:00
testmplex.nim fix varint issues 2020-05-11 09:12:23 -06:00
testmultiaddress.nim Fix MultiAddress.protoAddress() bug for fixed arrays. 2020-04-28 14:43:44 +03: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 fix varint issues 2020-05-11 09:12:23 -06:00
testnative.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testnoise.nim fix varint issues 2020-05-11 09:12:23 -06:00
testpeer.nim Moved base32, 58 and 64 to stew 2019-12-13 16:00:39 +02:00
testpeerinfo.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
testrsa.nim Use Result construct in minasn1 (#144) 2020-04-23 14:10:20 +02:00
testsecp256k1.nim secp: use upstream secp convenience api (#141) 2020-04-17 12:51:13 +02:00
teststreamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testswitch.nim fix varint issues 2020-05-11 09:12:23 -06:00
testtransport.nim use stream directly in chronosstream (#163) 2020-05-08 22:10:06 +02:00
testvarint.nim Signed variable integers fixes. (#96) 2020-03-06 20:19:43 +01:00