diff --git a/integration_test.go b/integration_test.go index fa0dfbf..98cb925 100644 --- a/integration_test.go +++ b/integration_test.go @@ -23,6 +23,15 @@ import ( "inet.af/netaddr" ) +var integrationTmpDir string +var ih Headscale + +var pool dockertest.Pool +var network dockertest.Network +var headscale dockertest.Resource +var tailscaleCount int = 50 +var tailscales map[string]dockertest.Resource + type IntegrationTestSuite struct { suite.Suite stats *suite.SuiteInformation @@ -56,15 +65,6 @@ func TestIntegrationTestSuite(t *testing.T) { } } -var integrationTmpDir string -var ih Headscale - -var pool dockertest.Pool -var network dockertest.Network -var headscale dockertest.Resource -var tailscaleCount int = 25 -var tailscales map[string]dockertest.Resource - func executeCommand(resource *dockertest.Resource, cmd []string) (string, error) { var stdout bytes.Buffer var stderr bytes.Buffer diff --git a/integration_test/etc/config.json b/integration_test/etc/config.json index 5454f2f..8a6fd96 100644 --- a/integration_test/etc/config.json +++ b/integration_test/etc/config.json @@ -7,5 +7,5 @@ "db_type": "sqlite3", "db_path": "/tmp/integration_test_db.sqlite3", "acl_policy_path": "", - "log_level": "trace" + "log_level": "debug" }