mirror of
https://github.com/tailscale/tailscale.git
synced 2025-12-25 20:23:43 +00:00
ipn/ipnlocal: fix state_test data race seen in CI
Unfortunately I closed the tab and lost it in my sea of CI failures I'm currently fighting. Updates #cleanup Change-Id: I4e3a652d57d52b75238f25d104fc1987add64191 Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
This commit is contained in:
committed by
Brad Fitzpatrick
parent
6e24f50946
commit
4650061326
@@ -652,7 +652,9 @@ func runTestStateMachine(t *testing.T, seamless bool) {
|
||||
}
|
||||
|
||||
// undo the state hack above.
|
||||
b.mu.Lock()
|
||||
b.state = ipn.Starting
|
||||
b.mu.Unlock()
|
||||
|
||||
// User wants to logout.
|
||||
store.awaitWrite()
|
||||
|
||||
Reference in New Issue
Block a user