mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
TEST: Upgrade pion to v3.2.9. (#3567)
------ Co-authored-by: chundonglinlin <chundonglinlin@163.com>
This commit is contained in:
parent
104cf14d68
commit
df854339ea
1383 changed files with 118469 additions and 41421 deletions
31
trunk/3rdparty/srs-bench/vnet/udpproxy_test.go
vendored
31
trunk/3rdparty/srs-bench/vnet/udpproxy_test.go
vendored
|
@ -1,3 +1,4 @@
|
|||
//go:build !wasm
|
||||
// +build !wasm
|
||||
|
||||
package vnet
|
||||
|
@ -90,9 +91,12 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
|
||||
// vnet client:
|
||||
// 10.0.0.11:5787
|
||||
//
|
||||
// 10.0.0.11:5787
|
||||
//
|
||||
// proxy to real server:
|
||||
// 192.168.1.10:8000
|
||||
//
|
||||
// 192.168.1.10:8000
|
||||
func TestUDPProxyOne2One(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
|
@ -235,10 +239,13 @@ func TestUDPProxyOne2One(t *testing.T) {
|
|||
}
|
||||
|
||||
// vnet client:
|
||||
// 10.0.0.11:5787
|
||||
// 10.0.0.11:5788
|
||||
//
|
||||
// 10.0.0.11:5787
|
||||
// 10.0.0.11:5788
|
||||
//
|
||||
// proxy to real server:
|
||||
// 192.168.1.10:8000
|
||||
//
|
||||
// 192.168.1.10:8000
|
||||
func TestUDPProxyTwo2One(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
|
@ -409,14 +416,20 @@ func TestUDPProxyTwo2One(t *testing.T) {
|
|||
}
|
||||
|
||||
// vnet client:
|
||||
// 10.0.0.11:5787
|
||||
//
|
||||
// 10.0.0.11:5787
|
||||
//
|
||||
// proxy to real server:
|
||||
// 192.168.1.10:8000
|
||||
//
|
||||
// 192.168.1.10:8000
|
||||
//
|
||||
// vnet client:
|
||||
// 10.0.0.11:5788
|
||||
//
|
||||
// 10.0.0.11:5788
|
||||
//
|
||||
// proxy to real server:
|
||||
// 192.168.1.10:8000
|
||||
//
|
||||
// 192.168.1.10:8000
|
||||
func TestUDPProxyProxyTwice(t *testing.T) {
|
||||
ctx, cancel := context.WithCancel(context.Background())
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue