mirror of
https://github.com/juanfont/headscale.git
synced 2025-11-10 05:59:38 -05:00
new IP allocator and add postgres to integration tests. (#1756)
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user