Skip to content

Commit

Permalink
remove outdated ackhandler test case
Browse files Browse the repository at this point in the history
  • Loading branch information
marten-seemann committed Jun 26, 2021
1 parent e9d12b7 commit 1758299
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions internal/ackhandler/received_packet_tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -313,15 +313,6 @@ var _ = Describe("Received Packet Tracker", func() {
Expect(ack.HasMissingRanges()).To(BeFalse())
})

// TODO: remove this test when dropping support for STOP_WAITINGs
It("handles a lower limit of 0", func() {
tracker.IgnoreBelow(0)
tracker.ReceivedPacket(1337, protocol.ECNNon, time.Now(), true)
ack := tracker.GetAckFrame(true)
Expect(ack).ToNot(BeNil())
Expect(ack.LargestAcked()).To(Equal(protocol.PacketNumber(1337)))
})

It("resets all counters needed for the ACK queueing decision when sending an ACK", func() {
tracker.ReceivedPacket(1, protocol.ECNNon, time.Now(), true)
tracker.ackAlarm = time.Now().Add(-time.Minute)
Expand Down

0 comments on commit 1758299

Please sign in to comment.