mhchia
|
13e8f496a7
|
Noise: add noise option in the factories and tests
|
2020-02-28 15:50:01 +08:00 |
|
mhchia
|
1fff6ad6b4
|
Mplex: change message channel size to 8
To avoid infinity sized channel, and to conform to the go
implementation.
|
2020-02-05 20:31:18 +08:00 |
|
mhchia
|
1e7d5c73ee
|
test_mplex_stream: refactor
|
2020-02-05 17:25:39 +08:00 |
|
mhchia
|
996b5cf15d
|
Mplex: catch exceptions from channel.send
|
2020-02-05 17:05:30 +08:00 |
|
mhchia
|
fb0519129d
|
Refine Mplex.close and SwarmConn.close
Ensure `close` cleans up things and cancel the service finally.
|
2019-12-17 15:50:55 +08:00 |
|
mhchia
|
1929f307fb
|
Fix all modules except for security
|
2019-12-06 17:06:37 +08:00 |
|
mhchia
|
79fcdf3a02
|
Update tests in test_tcp.py
Besides, run `make format`
|
2019-12-01 16:26:16 +08:00 |
|
mhchia
|
1e600ea7e0
|
Fix Mplex and Swarm
|
2019-11-29 19:09:56 +08:00 |
|
mhchia
|
ec43c25b45
|
Rewrite factories, made some of the test running
|
2019-11-26 19:24:30 +08:00 |
|
Chih Cheng Liang
|
a397ccdc04
|
makes test_mplex_stream.py::test_mplex_stream_read_write work
|
2019-11-26 15:27:06 +08:00 |
|
Chih Cheng Liang
|
bcd7890124
|
Move test utilities to tools (#356)
* move test factories to libp2p/tools
* remove unused inits
* move pubsub test utils to tools
* cleanup test_interop
* fix typing libp2p/tools/utils
* add typing to pubsub utils
* fix factories typing
* fix typing for floodsub_integration_test_settings
* fix rest of the typing
* fix isort
|
2019-11-21 11:47:54 +08:00 |
|
Dominik Muhs
|
c0452c961b
|
Update stream muxer conftest
|
2019-10-24 19:25:51 +02:00 |
|
mhchia
|
313ae45b45
|
Add tests for MplexStream
|
2019-09-19 16:31:42 +08:00 |
|
mhchia
|
02c55e5d14
|
Add tests for MplexConn
|
2019-09-19 16:31:42 +08:00 |
|
mhchia
|
a9ad37bc6f
|
Add mplex tests and fix error in SwarmConn.close
|
2019-09-19 16:31:41 +08:00 |
|