mirror of
https://github.com/tailscale/tailscale.git
synced 2024-11-29 04:55:31 +00:00
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:
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
Block a user