tailscale/tstest/integration
Brad Fitzpatrick a01b545441 control/control{client,http}: don't noise dial localhost:443 in http-only tests
1eaad7d3de regressed some tests in another repo that were starting up
a control server on `http://127.0.0.1:nnn`. Because there was no https
running, and because of a bug in 1eaad7d3de (which ended up checking
the recently-dialed-control check twice in a single dial call), we
ended up forcing only the use of TLS dials in a test that only had
plaintext HTTP running.

Instead, plumb down support for explicitly disabling TLS fallbacks and
use it only when running in a test and using `http` scheme control
plane URLs to 127.0.0.1 or localhost.

This fixes the tests elsewhere.

Updates #13597

Change-Id: I97212ded21daf0bd510891a278078daec3eebaa6
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2024-10-02 10:41:08 -05:00
..
nat wgengine/magicsock: disable raw disco by default; add envknob to enable 2024-09-16 11:06:33 -07:00
testcontrol ipn/ipnlocal: add advertised and primary route metrics 2024-09-27 16:05:14 +02:00
vms all: fix new lint warnings from bumping staticcheck 2024-08-22 12:31:08 -07:00
gen_deps.go all: update tools that manage copyright headers 2023-01-27 15:36:29 -08:00
integration_test.go control/control{client,http}: don't noise dial localhost:443 in http-only tests 2024-10-02 10:41:08 -05:00
integration.go vnet: add control/derps to test, stateful firewall 2024-08-09 09:06:54 -07:00
tailscaled_deps_test_darwin.go cmd/tailscaled: allow setting env via linux cmdline for integration tests 2024-08-10 12:01:21 -07:00
tailscaled_deps_test_freebsd.go cmd/tailscaled: allow setting env via linux cmdline for integration tests 2024-08-10 12:01:21 -07:00
tailscaled_deps_test_linux.go cmd/tailscaled: allow setting env via linux cmdline for integration tests 2024-08-10 12:01:21 -07:00
tailscaled_deps_test_openbsd.go cmd/tailscaled: allow setting env via linux cmdline for integration tests 2024-08-10 12:01:21 -07:00
tailscaled_deps_test_windows.go cmd/tailscaled: allow setting env via linux cmdline for integration tests 2024-08-10 12:01:21 -07:00