Add nolint for t.parallel

This commit is contained in:
Juan Font 2022-11-28 20:29:32 +00:00
parent eb072a1a74
commit 3fc45ea1ee
2 changed files with 5 additions and 5 deletions

View File

@ -122,9 +122,9 @@ func TestPingAllByHostname(t *testing.T) {
} }
} }
func TestTaildrop(t *testing.T) { func TestTaildrop(t *testing.T) { // nolint
IntegrationSkip(t) IntegrationSkip(t)
t.Parallel() t.Parallel() // nolint
retry := func(times int, sleepInverval time.Duration, doWork func() error) error { retry := func(times int, sleepInverval time.Duration, doWork func() error) error {
var err error var err error

View File

@ -21,7 +21,7 @@ func IntegrationSkip(t *testing.T) {
} }
} }
func TestHeadscale(t *testing.T) { func TestHeadscale(t *testing.T) { // nolint
IntegrationSkip(t) IntegrationSkip(t)
t.Parallel() t.Parallel()
@ -70,7 +70,7 @@ func TestHeadscale(t *testing.T) {
} }
} }
func TestCreateTailscale(t *testing.T) { func TestCreateTailscale(t *testing.T) { // nolint
IntegrationSkip(t) IntegrationSkip(t)
t.Parallel() t.Parallel()
@ -104,7 +104,7 @@ func TestCreateTailscale(t *testing.T) {
} }
} }
func TestTailscaleNodesJoiningHeadcale(t *testing.T) { func TestTailscaleNodesJoiningHeadcale(t *testing.T) { // nolint
IntegrationSkip(t) IntegrationSkip(t)
t.Parallel() t.Parallel()