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 //go:build integration_cli
// +build integration
package headscale package headscale

View File

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

View File

@ -1,4 +1,4 @@
//go:build integration //go:build integration_derp
package headscale package headscale
@ -28,9 +28,8 @@ import (
) )
const ( const (
headscaleHostname = "headscale-derp" namespaceName = "derpnamespace"
namespaceName = "derpnamespace" totalContainers = 3
totalContainers = 3
) )
type IntegrationDERPTestSuite struct { type IntegrationDERPTestSuite struct {

View File

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