new IP allocator and add postgres to integration tests. (#1756)

This commit is contained in:
Kristoffer Dalby
2024-02-18 19:31:29 +01:00
committed by GitHub
parent f581d4d9c0
commit 384ca03208
119 changed files with 3686 additions and 443 deletions

View File

@@ -2,11 +2,9 @@ package db
import (
"log"
"net/netip"
"os"
"testing"
"github.com/juanfont/headscale/hscontrol/notifier"
"github.com/juanfont/headscale/hscontrol/types"
"gopkg.in/check.v1"
)
@@ -52,10 +50,6 @@ func (s *Suite) ResetDB(c *check.C) {
Path: tmpDir + "/headscale_test.db",
},
},
notifier.NewNotifier(),
[]netip.Prefix{
netip.MustParsePrefix("10.27.0.0/23"),
},
"",
)
if err != nil {