mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-27 12:05:26 +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
@ -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 New Issue
Block a user