* fix(network): add a send timeout to outbound peer messages * test(network): test peer send and receive timeouts And the equivalent success cases: - spawn the run loop with no messages - spawn the run loop and send and receive a message * test(network): check for specific error types in the tests And add an outbound error test that doesn't expect a response. * test(network): use bounded fake peer connection channels This lets us actually trigger send timeouts in the tests. * refactor(network): rename some confusing types and variables fastmod peer_inbound_tx peer_tx zebra* fastmod peer_inbound_rx peer_rx zebra* fastmod ClientSendTimeout ConnectionSendTimeout zebra* fastmod ClientReceiveTimeout ConnectionReceiveTimeout zebra* * doc(network test): explain the purpose of each peer connection test vector |
||
|---|---|---|
| .. | ||
| proptest-regressions | ||
| src | ||
| Cargo.toml | ||