derp/derphttp: mark TestBreakWatcherConnRecv as flaky

Updates #17355

Signed-off-by: Alex Chan <alexc@tailscale.com>
This commit is contained in:
Alex Chan 2025-09-30 08:01:28 +01:00
parent 9aa16bf97b
commit b574a8a632

View File

@ -20,6 +20,7 @@ import (
"testing"
"time"
"tailscale.com/cmd/testwrapper/flakytest"
"tailscale.com/derp"
"tailscale.com/derp/derphttp"
"tailscale.com/derp/derpserver"
@ -267,6 +268,7 @@ func newWatcherClient(t *testing.T, watcherPrivateKey key.NodePrivate, serverToW
// updates after a different thread breaks and reconnects the connection, while
// the watcher is waiting on recv().
func TestBreakWatcherConnRecv(t *testing.T) {
flakytest.Mark(t, "https://github.com/tailscale/tailscale/issues/17355")
// TODO(bradfitz): use synctest + memnet instead
// Set the wait time before a retry after connection failure to be much lower.