From eae6a006515e584ed45a3ba6070650030a73fc1c Mon Sep 17 00:00:00 2001 From: Brad Fitzpatrick Date: Tue, 13 Aug 2024 12:23:44 -0700 Subject: [PATCH] tstest/integration/nat: crank up verbosity of a failing test Updates #13038 Change-Id: I36cde97b74e4a675b6c0f3be30f817bccdbe8715 --- tstest/integration/nat/nat_test.go | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/tstest/integration/nat/nat_test.go b/tstest/integration/nat/nat_test.go index a469859e6..f631b5429 100644 --- a/tstest/integration/nat/nat_test.go +++ b/tstest/integration/nat/nat_test.go @@ -145,7 +145,20 @@ func easyPMP(c *vnet.Config) *vnet.Node { // easy + port mapping + host firewall func easyPMPFW(c *vnet.Config) *vnet.Node { n := c.NumNodes() + 1 - return c.AddNode(vnet.HostFirewall, + return c.AddNode( + vnet.HostFirewall, + vnet.TailscaledEnv{ + Key: "TS_DEBUG_RAW_DISCO", + Value: "1", + }, + vnet.TailscaledEnv{ + Key: "TS_DEBUG_DISCO", + Value: "1", + }, + vnet.TailscaledEnv{ + Key: "TS_LOG_VERBOSITY", + Value: "2", + }, c.AddNetwork( fmt.Sprintf("2.%d.%d.%d", n, n, n), // public IP fmt.Sprintf("192.168.%d.1/24", n), vnet.EasyNAT, vnet.NATPMP))