tailscale/prober
Brad Fitzpatrick 295bf20cfd prober: deflake TestHTTPBandwidth
The test transferred only 64 KiB over loopback, which can complete
within a single clock tick on fast CI machines, causing
time.Since(start).Seconds() to return 0 and the
"transfer_time_seconds_total > 0" assertion to fail.

Increase the payload to 1 MiB so zero is genuinely implausible, and
retry up to 3 additional times. If the metric is still zero after 4
total attempts, fail hard — at that size it means the timing logic is
actually broken.

Fixes #20213

Change-Id: I3fab510ce8c567506fea5ad803d35acf40d65700
Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
2026-06-23 08:35:57 -07:00
..
derp_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
derp.go net/netutil: add NewDefaultTransport to avoid http.DefaultTransport panics 2026-06-01 12:28:36 -07:00
dns_example_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
dns_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
dns.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
histogram_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
histogram.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
http_test.go prober: deflake TestHTTPBandwidth 2026-06-23 08:35:57 -07:00
http.go prober: add HTTP bandwidth probe and dial-address override (#20185) 2026-06-19 15:33:29 -04:00
prober_test.go prober: fix race condition in TestExcludeInRunAll (#18807) 2026-02-25 13:52:01 -05:00
prober.go all: use Go 1.26 things, run most gofix modernizers 2026-03-06 13:32:03 -08:00
status.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
status.html cmd/derpprobe,prober: add ability to perform continuous queuing delay measurements against DERP servers 2024-12-19 10:45:56 -06:00
tcp.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tls_test.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tls.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tun_darwin.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tun_default.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00
tun_linux.go all: remove AUTHORS file and references to it 2026-01-23 15:49:45 -08:00