diff --git a/Makefile b/Makefile index cd0297b..6fac92a 100644 --- a/Makefile +++ b/Makefile @@ -56,7 +56,7 @@ test_integration_v2_general: -v $$PWD:$$PWD -w $$PWD/integration \ -v /var/run/docker.sock:/var/run/docker.sock \ golang:1 \ - go test $(TAGS) -failfast ./... -timeout 120m -parallel 6 + go test $(TAGS) -failfast ./... -timeout 120m -parallel 8 coverprofile_func: go tool cover -func=coverage.out diff --git a/integration/auth_oidc_test.go b/integration/auth_oidc_test.go index f6c3d70..0c3c901 100644 --- a/integration/auth_oidc_test.go +++ b/integration/auth_oidc_test.go @@ -35,6 +35,7 @@ type AuthOIDCScenario struct { func TestOIDCAuthenticationPingAll(t *testing.T) { IntegrationSkip(t) + t.Parallel() baseScenario, err := NewScenario() if err != nil { diff --git a/integration/auth_web_flow_test.go b/integration/auth_web_flow_test.go index c91b29e..89409c6 100644 --- a/integration/auth_web_flow_test.go +++ b/integration/auth_web_flow_test.go @@ -22,6 +22,7 @@ type AuthWebFlowScenario struct { func TestAuthWebFlowAuthenticationPingAll(t *testing.T) { IntegrationSkip(t) + t.Parallel() baseScenario, err := NewScenario() if err != nil { diff --git a/integration/general_test.go b/integration/general_test.go index 8917824..be74554 100644 --- a/integration/general_test.go +++ b/integration/general_test.go @@ -12,6 +12,7 @@ import ( func TestPingAllByIP(t *testing.T) { IntegrationSkip(t) + t.Parallel() scenario, err := NewScenario() if err != nil { @@ -66,6 +67,7 @@ func TestPingAllByIP(t *testing.T) { func TestPingAllByHostname(t *testing.T) { IntegrationSkip(t) + t.Parallel() scenario, err := NewScenario() if err != nil { @@ -121,6 +123,7 @@ func TestPingAllByHostname(t *testing.T) { func TestTaildrop(t *testing.T) { IntegrationSkip(t) + t.Parallel() retry := func(times int, sleepInverval time.Duration, doWork func() error) error { var err error @@ -260,6 +263,7 @@ func TestTaildrop(t *testing.T) { func TestResolveMagicDNS(t *testing.T) { IntegrationSkip(t) + t.Parallel() scenario, err := NewScenario() if err != nil { diff --git a/integration/scenario_test.go b/integration/scenario_test.go index faa50d6..5504a81 100644 --- a/integration/scenario_test.go +++ b/integration/scenario_test.go @@ -23,6 +23,7 @@ func IntegrationSkip(t *testing.T) { func TestHeadscale(t *testing.T) { IntegrationSkip(t) + t.Parallel() var err error @@ -71,6 +72,7 @@ func TestHeadscale(t *testing.T) { func TestCreateTailscale(t *testing.T) { IntegrationSkip(t) + t.Parallel() namespace := "only-create-containers" @@ -104,6 +106,7 @@ func TestCreateTailscale(t *testing.T) { func TestTailscaleNodesJoiningHeadcale(t *testing.T) { IntegrationSkip(t) + t.Parallel() var err error