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>
This commit is contained in:
Brad Fitzpatrick 2021-04-28 11:02:30 -07:00
parent 3c543c103a
commit 4bf6939ee0

View File

@ -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)