From 84a1106fa7064d66fb04d2a46a44c07ebe34774e Mon Sep 17 00:00:00 2001 From: Josh Bleecher Snyder Date: Wed, 15 Dec 2021 15:30:13 -0800 Subject: [PATCH] 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 --- tstest/integration/integration_test.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tstest/integration/integration_test.go b/tstest/integration/integration_test.go index 30ac770bb..e11d23cf0 100644 --- a/tstest/integration/integration_test.go +++ b/tstest/integration/integration_test.go @@ -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,