-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
We should have some integration tests for transports in general to:
- Codify what well-behaved transports need to do.
- Make it easier to write new transports.
The tests should at least exercise:
- One stream some data.
- One stream more data (e.g. 1MiB).
- Stream resets.
- connection gater: tests: add comprehensive end-to-end tests for connection gating #2200
- resource manager transport integration tests: add tests for resource manager #2285
- tests for deadlines transport tests: add deadline tests #2286
- deadline on streams
- deadline on dials
- Multiple streams (concurrently). The sum of the stream data transferred should exceed 20 MB, for the same reason as above. transport tests: many streams and lots of data #2296
- Many streams, more than the muxer's stream limit (
N = 1000?). Or alternatively, setting a lower rcmgr limit on the receiver side. The client would need to back off on stream resets then (wait for 50ms, then try again). Eventually, both server and client should have handled exactlyNstreams. transport tests: many streams and lots of data #2296 - p2p/transport/testsuite Transport integration tests: transport suite #2295
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels