forked from quic-go/quic-go
14 lines
328 B
Go
14 lines
328 B
Go
package protocol
|
|
|
|
import (
|
|
"testing"
|
|
|
|
"github.com/stretchr/testify/require"
|
|
)
|
|
|
|
func TestPacketQueueCapacities(t *testing.T) {
|
|
// Ensure that the session can queue more packets than the 0-RTT queue
|
|
require.Greater(t, MaxConnUnprocessedPackets, Max0RTTQueueLen)
|
|
require.Greater(t, MaxUndecryptablePackets, Max0RTTQueueLen)
|
|
}
|