ipn/ipnlocal: remove t.Parallel from recently added test
The test modifies a global; it shouldn't be parallel. Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>pull/1819/head
parent
3c543c103a
commit
4bf6939ee0
|
@ -478,8 +478,6 @@ func TestLazyMachineKeyGeneration(t *testing.T) {
|
||||||
defer func(old bool) { panicOnMachineKeyGeneration = old }(panicOnMachineKeyGeneration)
|
defer func(old bool) { panicOnMachineKeyGeneration = old }(panicOnMachineKeyGeneration)
|
||||||
panicOnMachineKeyGeneration = true
|
panicOnMachineKeyGeneration = true
|
||||||
|
|
||||||
t.Parallel()
|
|
||||||
|
|
||||||
var logf logger.Logf = logger.Discard
|
var logf logger.Logf = logger.Discard
|
||||||
store := new(ipn.MemoryStore)
|
store := new(ipn.MemoryStore)
|
||||||
eng, err := wgengine.NewFakeUserspaceEngine(logf, 0)
|
eng, err := wgengine.NewFakeUserspaceEngine(logf, 0)
|
||||||
|
|
Loading…
Reference in New Issue