From 1ec4561a99382bd539745dbbf918c9559b3d317d Mon Sep 17 00:00:00 2001 From: Eric Daniels Date: Tue, 26 Mar 2024 15:10:29 -0400 Subject: [PATCH] can now try undoing mux stuff --- mdns_test.go | 16 ---------------- transport_test.go | 5 ----- 2 files changed, 21 deletions(-) diff --git a/mdns_test.go b/mdns_test.go index a634b533..617492b2 100644 --- a/mdns_test.go +++ b/mdns_test.go @@ -8,13 +8,10 @@ package ice import ( "context" - "fmt" - "os" "regexp" "testing" "time" - "github.com/pion/transport/v3/stdnet" "github.com/pion/transport/v3/test" "github.com/stretchr/testify/require" ) @@ -25,19 +22,6 @@ func TestMulticastDNSOnlyConnection(t *testing.T) { // Limit runtime in case of deadlocks defer test.TimeOut(time.Second * 30).Stop() - os.Setenv("PION_LOG_TRACE", "ice,mdns,passive-ice-tcp-mux") - - n, err := stdnet.NewNet() - require.NoError(t, err) - localIfcs, localAddrs, err := localInterfaces(n, nil, nil, nil, false) - require.NoError(t, err) - for _, ifc := range localIfcs { - fmt.Println(ifc) - } - for _, ifc := range localAddrs { - fmt.Println(ifc) - } - type testCase struct { Name string NetworkTypes []NetworkType diff --git a/transport_test.go b/transport_test.go index 81fcc34b..c7907a17 100644 --- a/transport_test.go +++ b/transport_test.go @@ -8,7 +8,6 @@ package ice import ( "context" - "fmt" "net" "net/netip" "sync" @@ -178,8 +177,6 @@ func gatherAndExchangeCandidates(aAgent, bAgent *Agent) { candidates, err := aAgent.GetLocalCandidates() check(err) - fmt.Println("A CAND", candidates) - for _, c := range candidates { if addr, parseErr := netip.ParseAddr(c.Address()); parseErr == nil { if shouldFilterLocationTrackedIP(addr) { @@ -193,8 +190,6 @@ func gatherAndExchangeCandidates(aAgent, bAgent *Agent) { candidates, err = bAgent.GetLocalCandidates() - fmt.Println("B CAND", candidates) - check(err) for _, c := range candidates { candidateCopy, copyErr := c.copy()