mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-26 03:25:35 +00:00
wgengine/magicsock: disable legacy behavior in a few more tests.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
57d95dd005
commit
0733c5d2e0
@ -339,6 +339,7 @@ func TestNewConn(t *testing.T) {
|
|||||||
Port: port,
|
Port: port,
|
||||||
EndpointsFunc: epFunc,
|
EndpointsFunc: epFunc,
|
||||||
Logf: t.Logf,
|
Logf: t.Logf,
|
||||||
|
DisableLegacyNetworking: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
@ -514,6 +515,7 @@ func TestDeviceStartStop(t *testing.T) {
|
|||||||
conn, err := NewConn(Options{
|
conn, err := NewConn(Options{
|
||||||
EndpointsFunc: func(eps []string) {},
|
EndpointsFunc: func(eps []string) {},
|
||||||
Logf: t.Logf,
|
Logf: t.Logf,
|
||||||
|
DisableLegacyNetworking: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
@ -578,6 +580,7 @@ func TestConnClosing(t *testing.T) {
|
|||||||
epCh <- eps
|
epCh <- eps
|
||||||
},
|
},
|
||||||
SimulatedNetwork: false,
|
SimulatedNetwork: false,
|
||||||
|
DisableLegacyNetworking: true,
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("constructing magicsock: %v", err)
|
t.Fatalf("constructing magicsock: %v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user