go.mod, etc: bump gvisor
Fixes #6554 Change-Id: Ia04ae37a47b67fa57091c9bfe1d45a1842589aa8 Signed-off-by: andig <cpuidle@gmx.de>
This commit is contained in:
@ -11,7 +11,6 @@ import (
|
||||
"sync/atomic"
|
||||
"testing"
|
||||
|
||||
"gvisor.dev/gvisor/pkg/refs"
|
||||
"tailscale.com/ipn"
|
||||
"tailscale.com/ipn/ipnlocal"
|
||||
"tailscale.com/ipn/store/mem"
|
||||
@ -84,15 +83,6 @@ func getMemStats() (ms runtime.MemStats) {
|
||||
return
|
||||
}
|
||||
|
||||
func TestNetstackLeakMode(t *testing.T) {
|
||||
// See the comments in init(), and/or in issue #4309.
|
||||
// Influenced by an envknob that may be useful in tests, so just check that
|
||||
// it's not the oddly behaving zero value.
|
||||
if refs.GetLeakMode() == 0 {
|
||||
t.Fatalf("refs.leakMode is 0, want a non-zero value")
|
||||
}
|
||||
}
|
||||
|
||||
func makeNetstack(t *testing.T, config func(*Impl)) *Impl {
|
||||
tunDev := tstun.NewFake()
|
||||
dialer := new(tsdial.Dialer)
|
||||
|
Reference in New Issue
Block a user