mirror of
https://github.com/soypat/lneto.git
synced 2026-08-21 06:59:04 +00:00
fix codecov yaml
This commit is contained in:
+5
-1
@@ -34,7 +34,7 @@ func TestTxQueue_SequentialMessages(t *testing.T) {
|
||||
t.Fatalf("want %d unsent buffered, got %d", unsent, len(msg))
|
||||
}
|
||||
sent := rtx.BufferedSent()
|
||||
if sent > 0 {
|
||||
if sent != 0 {
|
||||
t.Fatalf("want 0 bytes sent, got %d", sent)
|
||||
}
|
||||
n, seq, err := rtx.MakePacket(data[:])
|
||||
@@ -47,6 +47,10 @@ func TestTxQueue_SequentialMessages(t *testing.T) {
|
||||
} else if seq != prevSeq {
|
||||
t.Fatalf("want seq %d, got %d", prevSeq, seq)
|
||||
}
|
||||
sent = rtx.BufferedSent()
|
||||
if sent != len(msg) {
|
||||
t.Fatalf("want %d sent, got %d", len(msg), sent)
|
||||
}
|
||||
prevSeq += Value(n)
|
||||
err = rtx.RecvACK(prevSeq)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user