ceremonyclient/go-libp2p/p2p/muxer/yamux/transport_test.go

16 lines
421 B
Go
Raw Normal View History

2023-08-21 03:50:38 +00:00
package yamux
import (
"testing"
tmux "github.com/libp2p/go-libp2p/p2p/muxer/testsuite"
)
func TestDefaultTransport(t *testing.T) {
// Yamux doesn't have any backpressure when it comes to opening streams.
// If the peer opens too many streams, those are just reset.
delete(tmux.Subtests, "github.com/libp2p/go-libp2p-testing/suites/mux.SubtestStress1Conn1000Stream10Msg")
tmux.SubtestAll(t, DefaultTransport)
}