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>
pull/395/head
Avery Pennarun 5 years ago
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…
Cancel
Save