mirror of
https://github.com/tailscale/tailscale.git
synced 2025-04-23 01:11:40 +00:00
controlclient/auto_test: don't print the s.control object.
This contains atomic ints that trigger a race check error if we access them non-atomically. Signed-off-by: Avery Pennarun <apenwarr@tailscale.com>
This commit is contained in:
parent
806de4ac94
commit
1013cda799
@ -441,7 +441,7 @@ func TestLoginInterrupt(t *testing.T) {
|
|||||||
c.loginAs(t, loginName)
|
c.loginAs(t, loginName)
|
||||||
c.waitStatus(t, stateAuthenticated)
|
c.waitStatus(t, stateAuthenticated)
|
||||||
c.waitStatus(t, stateSynchronized)
|
c.waitStatus(t, stateSynchronized)
|
||||||
t.Logf("authorizing: %v %v %v %v\n", s, s.control, c.mkey, c.nkey)
|
t.Logf("authorizing: %v %v %v\n", s, c.mkey, c.nkey)
|
||||||
if _, err := s.control.AuthorizeMachine(c.mkey, c.nkey); err != nil {
|
if _, err := s.control.AuthorizeMachine(c.mkey, c.nkey); err != nil {
|
||||||
fatal(t, err)
|
fatal(t, err)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user