mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 17:03:06 +00:00
Ignore tparallel where it doesnt make sense
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
parent
a7c608f0cb
commit
9e1c3c1688
2 changed files with 16 additions and 0 deletions
|
@ -122,6 +122,10 @@ func TestPingAllByHostname(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If subtests are parallel, then they will start before setup is run.
|
||||||
|
// This might mean we approach setup slightly wrong, but for now, ignore
|
||||||
|
// the linter
|
||||||
|
// nolint:tparallel
|
||||||
func TestTaildrop(t *testing.T) {
|
func TestTaildrop(t *testing.T) {
|
||||||
IntegrationSkip(t)
|
IntegrationSkip(t)
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
|
@ -21,6 +21,10 @@ func IntegrationSkip(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If subtests are parallel, then they will start before setup is run.
|
||||||
|
// This might mean we approach setup slightly wrong, but for now, ignore
|
||||||
|
// the linter
|
||||||
|
// nolint:tparallel
|
||||||
func TestHeadscale(t *testing.T) {
|
func TestHeadscale(t *testing.T) {
|
||||||
IntegrationSkip(t)
|
IntegrationSkip(t)
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
@ -70,6 +74,10 @@ func TestHeadscale(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If subtests are parallel, then they will start before setup is run.
|
||||||
|
// This might mean we approach setup slightly wrong, but for now, ignore
|
||||||
|
// the linter
|
||||||
|
// nolint:tparallel
|
||||||
func TestCreateTailscale(t *testing.T) {
|
func TestCreateTailscale(t *testing.T) {
|
||||||
IntegrationSkip(t)
|
IntegrationSkip(t)
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
@ -104,6 +112,10 @@ func TestCreateTailscale(t *testing.T) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// If subtests are parallel, then they will start before setup is run.
|
||||||
|
// This might mean we approach setup slightly wrong, but for now, ignore
|
||||||
|
// the linter
|
||||||
|
// nolint:tparallel
|
||||||
func TestTailscaleNodesJoiningHeadcale(t *testing.T) {
|
func TestTailscaleNodesJoiningHeadcale(t *testing.T) {
|
||||||
IntegrationSkip(t)
|
IntegrationSkip(t)
|
||||||
t.Parallel()
|
t.Parallel()
|
||||||
|
|
Loading…
Reference in a new issue