mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-28 19:19:49 +09:00
Switch from hacking buildtags to selecting tests
Signed-off-by: Kristoffer Dalby <kristoffer@tailscale.com>
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
//go:build integration_derp
|
||||
|
||||
package headscale
|
||||
|
||||
import (
|
||||
@@ -46,7 +44,7 @@ type IntegrationDERPTestSuite struct {
|
||||
joinWaitGroup sync.WaitGroup
|
||||
}
|
||||
|
||||
func TestDERPIntegrationTestSuite(t *testing.T) {
|
||||
func TestIntegrationDERPTestSuite(t *testing.T) {
|
||||
saveLogs, err := GetEnvBool("HEADSCALE_INTEGRATION_SAVE_LOG")
|
||||
if err != nil {
|
||||
saveLogs = false
|
||||
|
||||
Reference in New Issue
Block a user