nim-libp2p/tests
Dmitriy Ryajov a52763cc6d
fix publishing (#250)
* use var semantics to optimize table access

* wip... lvalues don't work properly sadly...

* big publish refactor, replenish and balance

* fix internal tests

* use g.peers for fanout (todo: don't include flood peers)

* exclude non gossip from fanout

* internal test fixes

* fix flood tests

* fix test's trypublish

* test interop fixes

* make sure to not remove peers from gossip table

* restore old replenishFanout

* cleanups

* Cleanup resources (#246)

* consolidate reading in lpstream

* remove debug echo

* tune log level

* add channel cleanup and cancelation handling

* cancelation handling

* cancelation handling

* cancelation handling

* cancelation handling

* cleanup and cancelation handling

* cancelation handling

* cancelation

* tests

* rename isConnected to connected

* remove testing trace

* comment out debug stacktraces

* explicit raises

* restore trace vs debug in gossip

* improve fanout replenish behavior further

* cleanup stale peers more eaguerly

* synchronize connection cleanup and small refactor

* close client first and call parent second

* disconnect failed peers on publish

* check for publish result

* fix tests

* fix tests

* always call close

Co-authored-by: Giovanni Petrantoni <giovanni@fragcolor.xyz>
2020-07-07 18:33:05 -06:00
..
pubsub fix publishing (#250) 2020-07-07 18:33:05 -06:00
helpers.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
nim.cfg Tests are now testing with --threads:on. 2019-11-06 13:01:16 +02:00
testbufferstream.nim consolidate reading in lpstream (#241) 2020-06-27 11:33:34 -06:00
testcid.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testconnection.nim Cleanup lpstream, Connection and BufferStream (#228) 2020-06-19 11:29:43 -06:00
testcrypto.nim Remove SHA1 from crypto and crypto tests. (#251) 2020-07-07 15:48:15 +02:00
testdaemon.nim Peer resultification and defect only (#245) 2020-07-01 08:25:09 +02:00
testecnist.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
tested25519.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testidentify.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testinterop.nim fix publishing (#250) 2020-07-07 18:33:05 -06:00
testmplex.nim Cleanup resources (#246) 2020-06-29 09:15:31 -06:00
testmultiaddress.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
testmultibase.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00
testmultihash.nim Crypto utilities resultification (#150) 2020-05-18 07:25:55 +02:00
testmultistream.nim consolidate reading in lpstream (#241) 2020-06-27 11:33:34 -06:00
testnative.nim multistream select make sure to not report NA (#235) 2020-06-22 15:38:48 -06:00
testnoise.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testpeer.nim Peer resultification and defect only (#245) 2020-07-01 08:25:09 +02:00
testpeerinfo.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testrsa.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
testsecp256k1.nim reuse single RNG instance for all crypto key generation (#249) 2020-07-07 13:14:11 +02:00
teststreamseq.nim remove readLoop in secure protocols (#162) 2020-05-07 14:37:46 -06:00
testswitch.nim Concurrent dials (#238) 2020-06-24 09:08:44 -06:00
testtransport.nim consolidate reading in lpstream (#241) 2020-06-27 11:33:34 -06:00
testvarint.nim Less exceptions more results (#188) 2020-05-31 16:22:49 +02:00