Use tags to split the integration tests

This commit is contained in:
Juan Font Alonso 2022-08-09 12:26:12 +02:00
parent e7148b8080
commit f8986132d4
4 changed files with 6 additions and 9 deletions

View file

@ -1,5 +1,4 @@
//go:build integration
// +build integration
//go:build integration_cli
package headscale

View file

@ -1,5 +1,4 @@
//go:build integration
// +build integration
package headscale
@ -20,6 +19,7 @@ import (
)
const (
headscaleHostname = "headscale-derp"
DOCKER_EXECUTE_TIMEOUT = 10 * time.Second
)

View file

@ -1,4 +1,4 @@
//go:build integration
//go:build integration_derp
package headscale
@ -28,7 +28,6 @@ import (
)
const (
headscaleHostname = "headscale-derp"
namespaceName = "derpnamespace"
totalContainers = 3
)

View file

@ -1,5 +1,4 @@
//go:build integration
// +build integration
//go:build integration_general
package headscale