various: mark more tests as flaky

Updates #2855
Updates #3598
Updates #7008

Signed-off-by: Andrew Dunham <andrew@du.nham.ca>
Change-Id: I2b849e04646456b9f0c8a01563f2add752f4b2a4
pull/6996/head
Andrew Dunham 2 years ago
parent 58ad21b252
commit 4fb663fbd2

@ -30,6 +30,7 @@ import (
"time" "time"
"go4.org/mem" "go4.org/mem"
"tailscale.com/cmd/testwrapper/flakytest"
"tailscale.com/ipn" "tailscale.com/ipn"
"tailscale.com/ipn/ipnlocal" "tailscale.com/ipn/ipnlocal"
"tailscale.com/ipn/ipnstate" "tailscale.com/ipn/ipnstate"
@ -251,6 +252,7 @@ func TestOneNodeUpAuth(t *testing.T) {
} }
func TestTwoNodes(t *testing.T) { func TestTwoNodes(t *testing.T) {
flakytest.Mark(t, "https://github.com/tailscale/tailscale/issues/3598")
t.Parallel() t.Parallel()
env := newTestEnv(t) env := newTestEnv(t)
@ -297,6 +299,7 @@ func TestTwoNodes(t *testing.T) {
} }
func TestNodeAddressIPFields(t *testing.T) { func TestNodeAddressIPFields(t *testing.T) {
flakytest.Mark(t, "https://github.com/tailscale/tailscale/issues/7008")
t.Parallel() t.Parallel()
env := newTestEnv(t) env := newTestEnv(t)
n1 := newTestNode(t, env) n1 := newTestNode(t, env)

@ -11,6 +11,7 @@ import (
"testing" "testing"
"go4.org/mem" "go4.org/mem"
"tailscale.com/cmd/testwrapper/flakytest"
"tailscale.com/net/dns" "tailscale.com/net/dns"
"tailscale.com/net/netaddr" "tailscale.com/net/netaddr"
"tailscale.com/net/tstun" "tailscale.com/net/tstun"
@ -143,6 +144,7 @@ func TestUserspaceEngineReconfig(t *testing.T) {
} }
func TestUserspaceEnginePortReconfig(t *testing.T) { func TestUserspaceEnginePortReconfig(t *testing.T) {
flakytest.Mark(t, "https://github.com/tailscale/tailscale/issues/2855")
const defaultPort = 49983 const defaultPort = 49983
// Keep making a wgengine until we find an unused port // Keep making a wgengine until we find an unused port
var ue *userspaceEngine var ue *userspaceEngine

Loading…
Cancel
Save