tstest/integration: make -verbose-tailscaled pass -verbose=2 to tailscaled

If you're using -verbose-tailscaled, you're doing in-the-weeds debugging,
so you probably want the verbose output.

Signed-off-by: Josh Bleecher Snyder <josh@tailscale.com>
pull/3577/head
Josh Bleecher Snyder 3 years ago committed by Josh Bleecher Snyder
parent aac974a5e5
commit 84a1106fa7

@ -655,6 +655,9 @@ func (n *testNode) StartDaemonAsIPNGOOS(t testing.TB, ipnGOOS string) *Daemon {
"--socket="+n.sockFile,
"--socks5-server=localhost:0",
)
if *verboseTailscaled {
cmd.Args = append(cmd.Args, "-verbose=2")
}
cmd.Env = append(os.Environ(),
"TS_LOG_TARGET="+n.env.LogCatcherServer.URL,
"HTTP_PROXY="+n.env.TrafficTrapServer.URL,

Loading…
Cancel
Save