Преглед изворни кода

various: mark more tests as flaky

Updates #2855
Updates #3598
Updates #7008

Signed-off-by: Andrew Dunham <[email protected]>
Change-Id: I2b849e04646456b9f0c8a01563f2add752f4b2a4
Andrew Dunham пре 3 година
родитељ
комит
4fb663fbd2
2 измењених фајлова са 5 додато и 0 уклоњено
  1. 3 0
      tstest/integration/integration_test.go
  2. 2 0
      wgengine/userspace_test.go

+ 3 - 0
tstest/integration/integration_test.go

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

+ 2 - 0
wgengine/userspace_test.go

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