wgengine/bench: disable unused benchmark that relies on legacy magicsock.
Signed-off-by: David Anderson <danderson@tailscale.com>
This commit is contained in:
parent
54bc3b7d97
commit
61c62f48d9
|
@ -42,6 +42,7 @@ func BenchmarkBatchTCP(b *testing.B) {
|
|||
}
|
||||
|
||||
func BenchmarkWireGuardTest(b *testing.B) {
|
||||
b.Skip("setup code doesn't support disco yet")
|
||||
run(b, func(logf logger.Logf, traf *TrafficGen) {
|
||||
setupWGTest(b, logf, traf, Addr1, Addr2)
|
||||
})
|
||||
|
|
|
@ -32,6 +32,7 @@ func setupWGTest(b *testing.B, logf logger.Logf, traf *TrafficGen, a1, a2 netadd
|
|||
if err != nil {
|
||||
log.Fatalf("e1 NewPrivateKey: %v", err)
|
||||
}
|
||||
|
||||
c1 := wgcfg.Config{
|
||||
Name: "e1",
|
||||
PrivateKey: k1,
|
||||
|
@ -105,7 +106,6 @@ func setupWGTest(b *testing.B, logf logger.Logf, traf *TrafficGen, a1, a2 netadd
|
|||
}
|
||||
endpoint := wgcfg.Endpoints{
|
||||
PublicKey: c1.PrivateKey.Public(),
|
||||
IPPorts: wgcfg.NewIPPortSet(ipps...),
|
||||
}
|
||||
|
||||
n := tailcfg.Node{
|
||||
|
@ -149,7 +149,6 @@ func setupWGTest(b *testing.B, logf logger.Logf, traf *TrafficGen, a1, a2 netadd
|
|||
}
|
||||
endpoint := wgcfg.Endpoints{
|
||||
PublicKey: c2.PrivateKey.Public(),
|
||||
IPPorts: wgcfg.NewIPPortSet(ipps...),
|
||||
}
|
||||
|
||||
n := tailcfg.Node{
|
||||
|
|
Loading…
Reference in New Issue