Add relay e2e tests and output some mermaid sequence diagrams (#691)

This commit is contained in:
Nate Brown
2022-06-27 12:33:29 -05:00
committed by GitHub
parent 7b9287709c
commit 0d1ee4214a
10 changed files with 417 additions and 33 deletions

View File

@@ -48,8 +48,8 @@ type Conn struct {
func NewListener(l *logrus.Logger, ip string, port int, _ bool, _ int) (*Conn, error) {
return &Conn{
Addr: &Addr{net.ParseIP(ip), uint16(port)},
RxPackets: make(chan *Packet, 1),
TxPackets: make(chan *Packet, 1),
RxPackets: make(chan *Packet, 10),
TxPackets: make(chan *Packet, 10),
l: l,
}, nil
}