mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
close dokodemo after testing
This commit is contained in:
parent
d5477e407b
commit
903985eab5
@ -26,6 +26,7 @@ func TestDokodemoTCP(t *testing.T) {
|
||||
Network: v2net.TCPNetwork.AsList(),
|
||||
Timeout: 600,
|
||||
}, testPacketDispatcher)
|
||||
defer dokodemo.Close()
|
||||
|
||||
port := v2nettesting.PickPort()
|
||||
err := dokodemo.Listen(port)
|
||||
@ -68,6 +69,7 @@ func TestDokodemoUDP(t *testing.T) {
|
||||
Network: v2net.UDPNetwork.AsList(),
|
||||
Timeout: 600,
|
||||
}, testPacketDispatcher)
|
||||
defer dokodemo.Close()
|
||||
|
||||
port := v2nettesting.PickPort()
|
||||
err := dokodemo.Listen(port)
|
||||
|
Loading…
Reference in New Issue
Block a user