You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailscale/tstest
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>
3 weeks ago
..
archtest
deptest
integration control/control{client,http}: don't noise dial localhost:443 in http-only tests 3 weeks ago
iosdeps all: do not depend on the testing package 5 months ago
jsdeps all: use math/rand/v2 more 5 months ago
natlab tstest/natlab: add dual stack with blackholed IPv4 2 months ago
nettest cmd/derper,tstest/nettest: skip network-needing test in airplane mode 6 months ago
tailmac tstest/natlab: add unix address to writer for dgram mode 2 months ago
tools go.{mod,sum},tstest/tools,k8s-operator,cmd/k8s-operator: autogenerate CRD API docs (#12884) 3 months ago
allocs.go
clock.go
clock_test.go
log.go
log_test.go
reflect.go net/dns: fix IsZero and Equal methods on OSConfig 2 months ago
resource.go
tstest.go
tstest_test.go