Skip to content

Commit 5a6444b

Browse files
committed
fix test
1 parent 2f50034 commit 5a6444b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

active_tcp_test.go

+6-5
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,12 @@ func TestActiveTCP(t *testing.T) {
4646
fmt.Println(tcpMux.LocalAddr())
4747

4848
passiveAgent, err := NewAgent(&AgentConfig{
49-
TCPMux: tcpMux,
50-
CandidateTypes: []CandidateType{CandidateTypeHost},
51-
NetworkTypes: []NetworkType{NetworkTypeTCP4},
52-
LoggerFactory: loggerFactory,
53-
ActiveTCP: false,
49+
TCPMux: tcpMux,
50+
CandidateTypes: []CandidateType{CandidateTypeHost},
51+
NetworkTypes: []NetworkType{NetworkTypeTCP4},
52+
LoggerFactory: loggerFactory,
53+
ActiveTCP: false,
54+
IncludeLoopback: true,
5455
})
5556
r.NoError(err)
5657
r.NotNil(passiveAgent)

0 commit comments

Comments
 (0)